Grasshopper

algorithmic modeling for Rhino

Hi,

I might have found a glitch in the Honeybee runDaylightSimulation module. I am trying to run multiple Honeybee radiance runs and compare results, but as soon as I unclick the "runRad" Boolean toggle of the "RunDaylightAnalysis" module the .res or .ill files in my c:\ladybug\fileName\gridBasedSimulation\ folder disappear. I am forced to rerun the analysis to review results that should be calculated already.

 

It seems that the point of the studyFolder module is to allow the user to review many different runs just by changing the file path, no recalculating required. How can I review my old work if the results are deleted by deactivating the calculation module? The "overwriteResults" is set to false.

 

I found that if I disconnected the filename first and then quickly canceled the run, I could safely toggle "RunRad" to false without deleting the files. I can then create a new radFileName and not worry about destroying old data. So it seems that making the "runRad" toggle false deletes the run files. I tried adding a button but this still deletes files. How would you recommend using the Honeybee components to test multiple runs and review old data?

 

I have officially made the switch from DIVA because these tools are so much more powerful and flexible! Thanks for all your work.

 

 

 

with "runRad" set to true. Output is good, .res files exists.

 

with runRad set to false. res files are gone.

 

As you can see, the studyFolder module works because I can still import the grid points and other values. When looking at the actual folder in my c drive I can see that the .res or .ill files are deleted. How can I stop this from happening? I would hate to lose a large run this way.

Views: 621

Replies are closed for this discussion.

Replies to This Discussion

Hi,

I found the reason for my issue but will leave this post up in case others have similar issues. If the "runRad" is set to false while the "writeRad" is still set to true, the .res and .ill files are deleted.

 

I see several solutions:

 

  • Make the writeRad input a button. This ensures the writeRad input is always false before the runRad toggle can be set to false, avoiding the issue. However, this requires manual input so the module cannot be automatically initiated by a looping script. If one run at a time is enough, this fix works.

 

 

  • Another solution is to connect a single Boolean toggle to both. This is the best way I think. You can safely deactivate both without deleting files. it doesn't matter which you plug in first. You will have to re-generate the rad file each time you run it, but this is fast.

 

Good luck everybody.

Also if you set overwriteResults_ to False as you have there the component will copy the results of your study into a backup folder.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service