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

How to fix-Openstudio: input file errors and warnings

asked 2015-03-24 19:34:43 -0600

rkbest's avatar

updated 2015-08-06 05:38:09 -0600

I saw the other posting asking the question about input files but its beyond my understanding, so please help.

My model is gone almost ok but I get these errors when i open the OSM file:

Error: Surface 343 The space referenced by this surface does not exist, it cannot be drawn.

Error: Surface 212 This planar surface shares the same SketchUp face as Surface 545. This error cannot be automatically fixed. The surface will not be drawn.*

How do I fix these? Can these be ignored? I dont know the ruby console commands and its application and would like some help here.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-03-24 23:12:58 -0600

Those errors indicate that the space referenced by surface 343 is missing in the OSM file, did you modify the OSM model by hand in a text editor? The first thing to try should be running the diagnostic user script:

To run the script, go to the "User Scripts" menu under the SketchUp Plugins menu, "Plugins / OpenStudio" menu and choose "OSM Diagnostic Script".

edit flag offensive delete link more


I get this from OSM diagnostics report

Surfaces and SubSurfaces which have similar geometry within same surface group *(error) 'Surface 545' has similar geometry to 'Surface 212' in the surface group named 'Space 202'

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

I did not yet has done any editing on editor but just using sketchup to perfect the spaces and zones before I do any OS GUI editing.

rkbest's avatar rkbest  ( 2015-03-25 11:22:37 -0600 )edit

Did you run the script with 'Remove Objects with Errors?' and 'Remove Objects with Warnings?' set to true? If so the script will save a modified version of your OSM after removing any problems that it found. Then you can open the modified version.

macumber's avatar macumber  ( 2015-03-25 11:56:39 -0600 )edit

I did remove the error surface, however, still in the modified OSM i get one error and I am unaware of the technique to fix it. The error shows: "Error: Surface 343 The space referenced by this surface does not exist, it cannot be drawn."

If i search this surface in sketchup plugin I get nothing.

rkbest's avatar rkbest  ( 2015-03-25 13:08:33 -0600 )edit

I am surprised that the diagnostic script did not catch surfaces with no space, @DavidGoldwasser may know about that. In the case that the diagnostic script does not remove Surface 343, I would suggest making a backup copy of your OSM, opening the OSM in a text editor, searching for that surface object and deleting it.

macumber's avatar macumber  ( 2015-03-25 13:42:19 -0600 )edit

I've added this issue to look into problems with the diagnostic script

macumber's avatar macumber  ( 2015-03-25 13:45:11 -0600 )edit

answered 2020-03-10 08:29:18 -0600

updated 2020-03-10 08:30:07 -0600

Sometimes when importing IDF files into Sketchup with Openstudio software (which is an operation not very much supported and only recommended for quickly checking geometry, and constructions) if:
Site:Location is missing it will output this kind of errors.
Note that when weather files are used they override Site:Location (specifically the coordinates and other fields if available) and often modelers do not use Site:Location in their IDFs because of this.
Running such IDFs in IDFEditor will not return any error, which only is observed for example when importing into sketchup for example, where Shading:Site:Detailed stops to be rendered.
So how i solved it was to include Site:Location in all IDF files, with updated coordinate fields, even if they get overriden by the weather files, still are useful when quickly inspecting IDF models using sketchup software.

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

1 follower


Asked: 2015-03-24 19:34:43 -0600

Seen: 2,707 times

Last updated: Mar 10 '20