HB Annual daylight simulation_cannot find the results

Thank you for the detailed explanation. It will be really hard to debug as I can’t re-create it on my machine. I will try to update the method to use Popen and see if that solves the issue. If you want to give it a try yourself check runMultipleBatchFiles component as an example.

Hi Mostapha!

I’m finding the same problem with Annual Daylight Simulation, I get stuck once the component run annual daylight simulation is run…

“can’t find the results for the study”

I attach the file, it is one of the example files of honeybee, with some of the components updated to the last version…

Thanks a lot in advance!!

008_AnnualDaylightAnalysis_II_ExploringResultsERROR.gh (558 KB)

Hi Eli, It works fine on my machine. Which version of Windows are you using?

Dear Mostapha,

I’m working in windows 10, however, in one friend’s machine (w10 too) works fine (after changing the directory at the very beggining in run honeybee)…

could it be just a problem of directories :S:S?

thank you!! :slight_smile:

Good night, Mostapha!

I’ve created a new filepath and manually referenced the files to it (the ones that should be created in the analysis) and it worked. So the problem is that the component runtheanalysis doesn’t recognize the filepath automatically and I don’t know how could I solve this…

Any idea?

Thank you and nice weekend!

Hi Eli, Good to know that you found a solution. Can you tell me what do you mean by “I’ve created a new filepath and manually referenced the files”. Did you need to create the folder? Now I wonder if this is a permission issue.

Dear Mostapha,

Well, in my mate’s computer HB works perfectly, so I copied his files .ill from the “annual daylight simulation” component and create a new folder in my computer so I could reference these files and continue to work with them… but I do not have any idea about this could be happening…

Hope you can have something on your mind!

Have a nice week and thanks again!


Hi Eli,

could you check if in your computer the files are finally created in this location as I marked in your previous printscreen:
If that eventually happens after the simulation has finished, I suspect exactly the same cause as in my case…

Indeed the way to overcome this is to reference these files manually, providing the path as an input to the next component and enabling it manually after all the cmd windows are closed (otherwise it runs the next component to quickly and therefore does not find the files).

However, in our case we are running an optimization loop, which includes daylight calculations, therefore manual interference is not an option… However, I did not find a way to fix it, so I am simply making the next component “sleep” until the files get generated.

Thank you both for the feedback. I will check the issue this weekend and fix the isStudyOver method.

All, I replaced isStudyOver with a more sophisticated method (https://github.com/mostaphaRoudsari/Honeybee/commit/3fefe97132c7de5…).

I hope it solves the issue on this thread. Can you please update Honeybee and let me know if it fixes the issue? Honeybee_Honeybee version should be DEC_12_2015.

1 Like

Hi Mostapha,

thanks a lot - now it works perfectly fine on my machine! Great :slight_smile:

Great! Thank you for letting me know.

Hi Mostapha!!!

It seems everything’s working on perfectly now!!!

The best way for starting the new gregorian year!!

Thanks a lot!! :slight_smile:

I’m having a similar issue. I can run a point in time study without a problem, but the annual simulation fails. I’ve tried reinstalling Daysim and I’ve updated honeybee, but I continue to have the same problem. It looks like an execution issue, the DOS window only appears for a second and then closes.


Issue solved. I had a glazing element with a BSDF assignment, which was causing the error.