Local variable 'schedCntrlType' referenced before assignment

Hello everyone,

I am trying to generate shading with Honeybee, but I am receiving the following error in Honeybee_EnergyPlus Window Shade Generator (EPWindowShades):

  1. Solution exception:Local variable ‘schedCntrlType’ referenced before assignment.

What does this mean and how do i fix this? I have been looking on the forum but i couldn’t find a clear answer.

Thank you in advance!

I have added my file:
TEC_Mor_prototype2.gh (922.5 KB)

This error also occurs if I assign a shadeCntrlType

Hi @tessar93,
I tested your file and I didn’t get any of the two errors you’re facing.

What versions do you have?

I have these versions:

I got the exact same ones.

I figured out the problem. My startup template for rhino was set to milimeters. Since i have changed it to meters this problem no longer occurs.

1 Like