An error, "1. Solution exception:index out of range: 0"

Hello,

I have had a problem with “Honeybee Export To OpenStudio”.
The error text has said, “1. Solution exception:index out of range: 0”.
I have connected “Panel” to “readMe!” of “Honeybee Export To OpenStudio” to see what the problems are. The traceback has shown some information, as indicated below.

line 5972, in checkZoneSurface, " < string > "
line 5849, in checkChildSurfaces, “< string >”
line 5658, in evaluateZones, “< string >”
line 5452, in main, “< string >”
line 5677, in script

I was just wondering how the problems could be solved.

Thank you.

Maybe this post will help you. I had problems with OpenStudio 3.0.1 recently. After downgrading it, it worked fine again. The post above explains how OpenStudio 3 and current HB can work together.

This is definitely related to your geometry, @Syo , and the fact that some of the surfaces are not being triangulated correctly. The chances of it being related to the OpenStudio version are extremely low. Can you upload a sample of the minimum geometry needed to recreate the error, @Syo ?

Hello,

Thank you very much for replying.
I have attached a file that has contained the problem.

Thank you

A file to be fixed.gh (814.8 KB)

The issue is with the window geometry. You can see that it causes the Zone to become an open Brep:

I can see that some of the windows go all of the way to the edge of the parent surface, which is illegal in E+.

Hello,

Thank you very much for replying.

I have created 2 files.
I have deleted the windows whose edges existed on the edges of the parent surfaces, in one file.
I have also moved the edges of the windows inwards, so that the edges of the windows would not exist on the edges of the parent surfaces, in another file.
The Zones of the two files have been closed Breps.
However, the problem has not been solved.

Thank you

A file to be fixed 2.gh (809.5 KB) A file to be fixed 3.gh (810.8 KB)

Hello,

I have found the thing noted below.

My model has had 2 zones.
If zone 1 is deleted, my script will completely work with zone 2.
Likewise, if zone 2 is deleted, my script will completely work with zone 1.
However, when the 2 zones exist, the script will have the problem.
Could this problem be solved?

Thank you

Hello,

I have found another thing.
Zone 1 and zone 2 have planar surfaces entirely.
I have detected 4 surfaces which create the problem.
The image 1 and the image 2 have shown 4 purple windows. If any windows are created on the same surfaces as the 4 purple windows, the problem will happen.
However, if only either of zone 1 or zone 2 is used with the script (definition), the problem will not happen regardless of planar surfaces used for windows, as I mentioned previously.

Has anyone been familiar with this problem?

Thank you

image2

image1

Hello, Mr. Chris Mackey (@chris),

The problem has been solved.
This page has been helpful (Open/Close Brep and IndoorViewFactor issue).

Thank you very much.

1 Like