Average daylight factor

daylight

#1

Hello!

I’m trying to simply get the average daylight factor of my daylight analysis. I have run a successful DF analysis with a graphical mesh plot. Now I am trying to use the ‘results’ from the ‘runDaylightAnalysis’ and connect it to ‘Average’ or ‘insert items’ and then connect it to ‘Average’ but I just get the error that it cannot find values.


#2

Hi @Astaahl,
First, connect the DF values to number component:


#3

To add to @OmidmRashidi’s reply Grasshopper’s Average component doesn’t cast string values to numbers (many other components do) and that’s why you have to do it yourself before connecting the values to Average component.


#4

Thank you. This work out well.