Problem with concave surfaces using the DirectSunHours component

Thanks for trying to answer this, @mostapha, but a smaller _grid_size will only make this situation worse. I think what you were trying to say is “increase the _offset_dist_,” which is how we have traditionally handled the fact that some of the sensor points end up behind the study geometry and get blocked. Increasing the _offset_dist_ is a proven way to get a more sensical result no matter the version of Ladybug that you are using.

With all of this said, @charlie.brooker actually came up with a really clever way to avoid the issue entirely no matter your offset distance a couple of years ago:

I was kinda reluctant to make it an official solution at first because it can slightly degrade the performance of the components and I wanted to do some testing to see if this change in performance is actually noticeable. I did a little bit of testing right now and, for the most complex studies, it only seems to add a few tenths of a second. For simpler studies like what @LaFleur posted in the sceenshots, it’s not even noticeable at all. So I just made the change here:

… and you can get the change on your end, @LaFleur , by running the LB Versioner component.

I should have taken @charlie.brooker 's suggestion sooner since I can see that this would have probably saved the forum from a few extra posts. Just to illustrate the change, I have a study of a concave paraboloid like this go from this:

… to this:

… without the need to play with the _offset_dist_ at all.

Still, thanks again for suggesting this in the first place, @charlie.brooker !

3 Likes