Dear @chris,
I want to report a possible error that I encountered using the Direct Sun Hours component on concave surfaces.
How to see in the first image, also using a offset of 5 cm, seems that the analyzed surface overlaps with itself.
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:
Dear @chris,
thank you for your prompt interest in the issue.
I only saw the new input _geo_block later, which changes the “modus operandi” of preparing the context model for the analysis, to avoid having the same error.