Grasshopper

algorithmic modeling for Rhino

Hello everyone.

I am dealing with a radiation analysis for a simple surface with a shading device.

I have the intention to perform 100 000 simulations including different shading geometries.

Thanks to anemone, I create a program which is able the scroll through all possibilities and for each one , performs a radiation analysis simulation. Each simulation lasts 1 second. 

The problem is that as far as the iteration index is getting higher ,the simulation time consumption is getting greater ( from 1 second to 2 seconds).Also the rhino memory allowance, as well as analyse time consumption, is getting larger. Moreover, I find out that Lady bug radiation analysis component contributes mainly in this memory issue.

I have tried to clear and recompute solution, but unfortunately rhino allowance memory stays as higher as before.

I looked at Radiation analysis code, and it appears that no dispose() or garbage commands are applied.

Has anyone ever been in such a situation before? 

I have no clue how to deal with this issue. I will be very pleased with your contribution.

Thank you in advance.

   

Views: 229

Replies are closed for this discussion.

Replies to This Discussion

Mafrouq,

I'm not sure how anemone works but if it doesn't re-calculate the sky you should not be having a problem in recalculating several shadings.

Here are a couple of suggestions.

1. Do not run the analysis in Parallel. That can be the reason that the analysis starts to be slower after several runs.

2. Use fly component to iterate between the options.

3. Use honeybee or honeybee[+] which runs the radiation analysis using Radiance.

Back to garbage collection, python has it's own garbage collection. Read more here: https://stackoverflow.com/a/9449506/4394669

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service