Grasshopper

algorithmic modeling for Rhino

Hi, 

I have an observation, followed by a question/ 

I've been using the Sunlight Hours Analysis component on a large model. The model context is nearly 16,000 surfaces, and there are c. 350 surfaces for the sunlight hours analysis. 

I'm producing BRE Annual Probable Sunlight Hours calculations and so to match the BRE approach, I'm using 100 sun vectors, each representing 1% of probable sunlight hours. I could use the Sunpath and Analysis Period components to produce sun positions for the whole year, but this gives results that do not fully reflect the BRE methodology - which is important here. I'm detailing this just to clarify that this isn't a full annual calc of 8760 hours for 350 surfaces. 

Anyway, when I run the calc, it takes about an hour to run, but the Sunlight Hours Component itself reports a calculation time of 3 seconds! Does this mean that the rest of the time is all about prepping the brep geometry? If so, is there a reason why this is much slower than when using a view of sky recipe and exporting to radiance. For the same project, I completed a view of sky calculations and based on the number of test points and -ad setting, this was completing about 5.25 billions rays so I understand why that took an hour. 

Any thoughts as to why the sunlight hours calc seems to take so long? 

thanks

Nick

Views: 687

Replies are closed for this discussion.

Replies to This Discussion

Nick,

It will help to attach your file.

If you see that the sunlightHours takes 3 seconds then you can see also where it happens that the other hour occurs.

Hard to say without understanding what is going on.

-A.

Good point Abraham about the timings. I'll look into it. I can't share the file yet as the project is not public yet. 

As Abraham mentioned, did you try to pin point the component that takes the most of the time for calculation? You need to turn on the Profiler in case you don't see the time at the bottom of each component.

Sunlighthour is using Grasshopper's intersections while SVF component is using Radiance's ray-tracing for calculation. If you can share the model with me over email I will be happy to test it against the new under development method that uses Radiance for calculating sunlight hours.

Mostapha

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service