I am using ClimateStudio for daylight and energy simulation. Whenever I am running Wallacei to iterate through the genes, I am getting daylight result error. Wallacei is successfully iterating the genes, and energy results are being read; however, daylight simulation is not being conducted. An error on the ‘Run CS daylight’ is popping up:
“1. Solution exception:The calling thread must be STA, because many UI components require this.”
It is to mention that, I tried Octopus to run both daylight and energy simultaneously using the same script, and it is working. Also, I tried Galapagos to check if I see any error for daylight simulation. But it worked too. I have attached the files herewith for reference.
MultiobjectiveOptimization_ClimateStudio_Wallacei.3dm (10.3 MB)
MultiObjectiveOptimization_ClimateStudio_Wallacei.gh (687.9 KB)