DIVA for Rhino

DIVA-for-Rhino is a plugin which runs thermal, daylight, solar radiation, and glare simulations. Our goal is to bring validated environmental simulations directly to the conceptual design environments of Rhino and Grasshopper.

Automate multiple simulations

Hi All,

I am running a climate based daylight simulation for each floor of a multi-story building. A slider controls the floor that is being analysed (and helps generate a unique file name for the result files for each floor).

Any ideas of how to automate the process so all floors are simulated so I don't have to be there to manually adjust the slider? Animating the slider has not proved so reliable as it generally just causes DIVA to simulate the first and top floors. 

  • up

    Martin Dembski

    Hello Elliot,

    maybe you can try to use the Kangaroo Counter for this.

    It will count one step further according to the time you insert in the timer.

    (if you want to insert minutes in the timer you need to convert them to seconds)

    Hope it will help.

    Best,

    Martin.

    • up

      Jeff Niemasz

      Hi Elliot,

      I have used Martin's recommendation and inserted timers when necessary (I have found this especially useful when doing recursive scripts where the results file is given some time to be written then a part of the definition checks for the file after a certain amount of time and makes some if-then geometry or material change based on the result, then reruns the simulation).

      But for your case the simple slider animation has worked great for me in the past. If the slider is part of the project name and simultaneously changes geometry and triggers a new simulation, a new result should be produced for each slider increment. I am curious what is causing the problem. Could you post more information about the definition so I can re-create the error?

      Jeff

      2
      • up

        Christos Kollias

        Hi Elliot i am trying to do the same thing like you.

        Can you please let me know how/if you solve it?

        Many thanks

        Christos