ladybug-tools / ladybug-legacy

:beetle: Ladybug is an environmental plugin for Grasshopper.
http://ladybug.tools
Other
192 stars 82 forks source link

pierce_set calculation is returning different results comparing to CBE comfort tools #478

Open BingWangUS opened 4 years ago

BingWangUS commented 4 years ago

The SET calculation is giving different results comparing to CBE comfort tools.

image

An investigation of the source code from Ladybug tools and CBE comfort tools indicated that the difference is caused by the while loop (line 300) in Ladybug tools and the do while loop used in CBE comfort tool.