Just being curious, i tried to implement Julia’s method (under Chris’s suggestion), but i get, unfortunately an error with the windRose component.
I managed to select/extract the desired hours data. Plugged them into the windSpeed/Direction and then i get the following error:
Runtime error (IndexOutOfRangeException): index out of range: 2899
line 198, in unpackPatternList, “<string>”
line 568, in main, “<string>”
line 1131, in script
From what i understand i can’t input the data as a selected list. I also understand that the list must be annual.
In short, Devang method is fine, as long as you want the analysis for “dark” hours. But if i want a selected range of hours it fits less.
I can’t see how to implement Julia’s method.
I probably missed something here …
04_WindAnalysis - NightHours.gh (472 KB)