# Validation Exception for Daylight Model

**URL:** <https://discourse.ladybug.tools/t/validation-exception-for-daylight-model/25047>\
**Category:** honeybee\
**Created:** [April 23, 2024, 10:16am UTC](https://discourse.ladybug.tools/t/validation-exception-for-daylight-model/25047 "2024-04-23T10:16:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![surabhisaran](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/s/b3f665/32.png) [@surabhisaran](https://discourse.ladybug.tools/u/surabhisaran)\
**Post date:** [April 23, 2024, 10:16am UTC](https://discourse.ladybug.tools/t/validation-exception-for-daylight-model/25047/1 "2024-04-23T10:16:53Z")

</div>

Hi @chris  
Regarding the HB Validate Model component , I am getting a constant traceback error when I run the component. The Daylight model simulates but I suspect it is not accurate as I get different results from my colleagues , even though we use the same script with the same parameters. This has happened across multiple different models  
Do you know what could be the error?  
Thanks in advance

 ![image](https://discourse.ladybug.tools/uploads/default/original/3X/5/4/545f8cd720b69bea32b9e0e6f0e9d136509f061a.png)

---

<div class="post-metadata">

**Author:** ![chris](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/chris/32/10179_2.png) [@chris](https://discourse.ladybug.tools/u/chris)\
**Post date:** [May 29, 2024, 6:39pm UTC](https://discourse.ladybug.tools/t/validation-exception-for-daylight-model/25047/2 "2024-05-29T18:39:55Z")

</div>

Hi @surabhisaran ,

Sorry that no one responded to this a year ago but it was out of place in the original discussion so I moved it to a new one. The code has changed quite a lot since the version that you have there but, thanks to the magic of GitHub versioning, I know that this was the exact line that was failing for you a year ago:

> <https://github.com/ladybug-tools/honeybee-core/blob/29bf4d498687ed5361ded31dd49d7023c7befec1/honeybee/room.py#L1919>

So it seems that this was a bug related to Models without any Rooms and it seems like it was fixed 7 months ago:

> <https://github.com/ladybug-tools/honeybee-core/commit/c9145884606cdc247c394e31c5701aad4e98c00c>

So just update to LBT 1.8.0 and you should be fine.

---

<div class="post-metadata">

**Author:** ![surabhisaran](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/s/b3f665/32.png) [@surabhisaran](https://discourse.ladybug.tools/u/surabhisaran)\
**Post date:** [June 7, 2024, 9:07am UTC](https://discourse.ladybug.tools/t/validation-exception-for-daylight-model/25047/3 "2024-06-07T09:07:07Z")

</div>

Thankyou Chris! We updated to LBT1.8 & this error has disappeared. Much Appreciated!
