algorithmic modeling for Rhino
Tags:
Replies are closed for this discussion.
The way I see it, this component is about whether you receive sunlight or not at a particular time. It won't count a 50% sunlight.
It could tell you if a certain point receives sunlight for at least 50% of the time. But I am not sure if that's what you're looking for.
Hey - to elaborate further than below, I am not concerned if one point receives sunlight for 50% of the time. I need to find out for how long is the entire surface receiving at least 50% sunlight coverage. So if at 10am only 40% of the surface is getting sunlight then that time wont count, but if at 11am the surface is getting 50% sunlight coverage then that will count towards how long in total it receives 50% or more.
Hi Claudia,
Could you please elaborate on your question? I want to look into this, but I am not sure if I understand you correctly.
-Devang
hi Devang,
The way I see it, she is looking for the number of hours for which the teste surface is at least 50% exposed to the sun, but not sure about it.
Aurelien
If that's the case then that can be done with this component I believe.
Hi Devang,
yes, Aurelien is correct. I want to know the number of hours for which the test surface is at least 50% exposed to the sun. So for how long is there >%50 sun exposure on the surface - does that make sense??
Use sunIsVisible output, flip the matrix, count the number of True values and divide it by the number of total hours, count the number of values that are larger than 0.5.
PS: I assumed each sun position represents an hour otherwise you need to divide the file value by the number of time steps to get the number of hours.
Thank you so much Mostapha! I will test this when I can on Monday and post my results - thank you for you help!
Yes - the sun position represents every hour between 9am - 3pm.
Mostapha, what do you mean by 'flip the matrix' ?
Hi Claudia,
Please find a sample attached. I have added a small component that helps you calculate the number you're interested in. The component has tooltip descriptions.
In the attached file, I am calculating the number of minutes as you mentioned in the original post. However, you can change the _timeStep_ on sunpath and set it to 1 to get the number of hours.
Hope this helps!
-Devang
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by