honeybee-legacy icon indicating copy to clipboard operation
honeybee-legacy copied to clipboard

EnergyShadeBenefit Index Error

Open JustinShultz opened this issue 5 years ago • 2 comments

I am attempting to run an Energy Shade Benefit study, similar to the Hydra example.

At the EnergyShadeBenefit component, I get an index error that reads: Runtime error (ArgumentOutOfRangeException): Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Traceback: line 123, in checkTheInputs, "<string>" line 856, in script

I only receive this error when using orientation specific shading depth for the _depth input of the EPWindowShade component. See image below for example or the grasshopper file of the script with error (will start energy simulation upon launch, setup for inches).

EnergyShadeBenefit Error

A workaround can be done by providing a small length to each orientation but this would increase simulation time.

JustinShultz avatar Feb 28 '20 14:02 JustinShultz

This looks like something that should be posted on the forum

devangcx avatar Feb 28 '20 14:02 devangcx

@devngc I can post on the forum. When should an error associated with the coding of a component be posted on the forum versus the github issues?

JustinShultz avatar Feb 28 '20 14:02 JustinShultz