Agree with @mostapha. The below image from the thread that @mostapha shared sums it up.
You can find more detailed info in the first couple of sections of this paper. Section 1 describes why the algorithm in Daysim is often prone to errors and section 2 details how we tried to mitigate this problem in Honeybee[+].