Adaptive Thermal Comfort "Crashes"

Hi Team,
We are developing a adaptive thermal comfort and script crashes with the following error.
Could any of you have insights over the crash?

Best,
Prethvi
UNS

ThermalComfort (1).gh (75.8 KB)