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

Adding daylighting sensor - measure

asked 2019-08-28 10:57:20 -0600

Ranjani gravatar image

updated 2019-08-28 15:07:54 -0600


I am unable to use this measure in my current model in OS v2.8. Attached is the error. The measure works fine in other models. Is there a way fix it?

Thanks Ranjani !

image description

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2019-08-28 11:33:21 -0600

Previously I have not had any luck with the BCL measure, but you can use the OpenStudio-Standards method through the command line or a measure following this answer.

edit flag offensive delete link more

answered 2019-08-28 15:17:00 -0600

It is failing on this code xmin = boundingBox.minX.get which is part of the code to get a bounding box around the floor surfaces for each of the spaces in the model. Is it possible that one or more of the spaces in your model do not have any surfaces, or more specifically, does not have any floor surfaces. This measure was mainly made as a demonstration and doesn't have any logic in to trap this condition and skip those spaces. @Luis Lara's suggestion is a good one, as that method is more robust. We should have a measure on BCL that gives this functionality as part of a more complex measure with different elements that can be enabled or disabled.

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: 2019-08-28 10:57:20 -0600

Seen: 52 times

Last updated: Aug 28 '19