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

Openstudio Error: Sub surface is not contained by its base surface

asked 2015-03-25 07:04:11 -0500

It's quite similar to a previous question titled Subsurface is missing its base surface, it cannot be drawn, but I believe this is different enough to warrant another question.

Indeed, the error I'm getting is:

Error:  glz_0_RightWingWalkway-Roof_c98937c2c6fc4db8af1c_141
This sub surface is not contained by its base surface, it cannot be drawn

I'd like to put an emphasis on the "not contained".

The problem is that if it can't be drawn, you can't delete it.

Additionally, I'm getting the error for ~150 of them (geometry created in third party software), so doing it manually isn't feasible anyways.

There is an OpenStudio user script called "Remove Orphan Subsurfaces", but in this case the subsurface isn't actually orphaned, so the script doesn't clean it up.

So, is there a "Remove subsurfaces not contained in base surface" script out there?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-25 13:48:19 -0500

Have you tried running the OSM diagnostic script as @DavidGoldwasser describes in this post? If that script does not currently address this case it should, you could add a feature request to add this if it does not already work.

edit flag offensive delete link more


Yes, tried that multiple times, and no it doesn't catch it unfortunately. Created an issue here. Fortunately, all the problematic subsurfaces were on the same surface, so next to each other in the osm. Removing them manually was a piece of cake.

Julien Marrec's avatar Julien Marrec  ( 2015-03-26 03:30:56 -0500 )edit

Also I have this trouble, I would like to know that still there is no way to solve this issue in open studio?

4Designer's avatar 4Designer  ( 2016-04-05 12:47:32 -0500 )edit

You could probably write this test using the OpenStudio.within method. If you write this up we should add it to the diagnostic user script.

macumber's avatar macumber  ( 2016-04-06 12:18:56 -0500 )edit

Thank you dear @macumber, for your reply. I have visited the link that you have mentioned but I do not know how can I write something there! Would you please let me know further more? thanks in advance.

4Designer's avatar 4Designer  ( 2016-04-17 05:07:17 -0500 )edit

I added this issue to add this to the diagnostic script

macumber's avatar macumber  ( 2016-04-17 10:21:55 -0500 )edit

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-25 07:04:11 -0500

Seen: 819 times

Last updated: Mar 25 '15