Honeybee openstudio 2.8

@josh.greenfield


This is because your rhino file is not in meter.

1 Like

Woohoo! We figured it out!

That error is easy to fix. You just need to make sure that the input geometry is in the same units as your Rhino model units. If you are using the Box in the sample file I sent you, itā€™s supposed to be in meters as @MingboPeng says.

Ok, now we know that this error was because people had an older version of Ironbug installed and I guess Ironbug was loading the OpenStudio C# bindings before Honeybee had a chance to. If you install the most recent Ironbug, everything should work.

1 Like

Rhino units changed to meters and the test file runs!

I re-installed Ironbug and the test file runs again as wellā€¦so is it safe to say that when upgrading to OS2.8.0 and having issues: making sure all OpenStudio versions are uninstalled, Ironbug uninstalled, then install 2.8.0, then open Rhino/Grasshopper and reinstall Ironbug is the recommended path?

@josh.greenfield ,

Following your instructions will definitely work on all machines.

However, I think it is still ok to have both OpenStudio 2.8 and OpenStudio 2.5 installed on your machine if you want to keep them both (as long as both your honeybee and ironbug are up-to-date). I have both versions on my machine right now and they are working well. Thereā€™s really not a compelling need to keep 2.5, though, and I really only keep it on my machine to help debug forum issues like this one :slight_smile:

BTW, I am pretty sure that the most recent Honeybee is fully-compatible with OpenStudio 2.9 (it has worked well in all of my tests thus far). So upgrading to 2.9 should also be an option now.

thanks Chrisā€¦I really appreciate the help to get this fixed! as Iā€™m running ONLY OS2.9.1 right now, Iā€™ll let you know if I have any issues that I didnā€™t have on OS2.5.0ā€¦Iā€™ve already ran a complex energy model (with Ironbug) and a thermal comfort analysis (with every comfort recipe left and right) and no issues so far!

Right, Ironbug will load OpenStudio dll when starting the GH in rhino. Ironbug also always loads the most updated version of OpenStudio installed in C drive, unless you want a specific version to be loaded by copying openstudio dll files to c:/Ironbug folder.

This might be the reason that causing the OpenStudio conflicts, @josh.greenfield have copied an old version of OpenStudio dll files to ironbug folder, and ā€œuninstallingā€ (removing the Ironbug folder) fixed it.

@chris I think I remember there was an issue that Honeybee_honeybee finds the most updated OpenStudio dlls when two versions like 2.8.0 and 2.8.1 are installed. Honeybee_honeybee will load 2.8.0 instead of 2.8.1.

so I think I ā€œmightā€ know what happenedā€¦Iā€™ve had Ironbug installed since the Beta release (August 2018)ā€¦at that time, the Ironbug installer copied over the openstudio_csharp.dll file into the C:\Ironbug folder (along with a few other OS dll files)ā€¦updated Ironbug version installs since then donā€™t do that anymore (right @MingboPeng?) BUT for every update I kept extracting the new Ironbug zip into the folder and overwriting old files, but never cleared out Ironbug files that werenā€™t ā€œneededā€ anymoreā€¦thus the csharp.dll file remained in the Ironbug folder since the Beta release and didnā€™t cause any issues until my recent OS upgrade today.

image

Right, exactly! Sorry, I should have been more clear for upgrading from the beta version.

Thank you @MingboPeng and @josh.greenfield for clarifying. Itā€™s also good to know that weā€™re no longer distributing the OpenStudio.dll with Ironbug since this should stop any issues like this from popping up in the future.

I was able to recreate the issue you mentioned, @MingboPeng, where it was not distinguishing between OpenStudio version 2.x.0 and 2.x.1. I just pushed a fix and it should all work correctly now:

Hello guys,

I recently went through this same issue (Honeybee openstudio 2.8 - #19 by josh.greenfield). I was able to solve it by uninstalling Ironbug, OpenStudio and then reinstalling OpenStudio. The issue that I stumbled upon was that if I reinstalled Ironbug, then I went back to having the error again. For now I just kept Ironbug aside and have no rush to fix it, but I was wondering what could be the cause for it.

Not sure if this would be helpful but it may throw another lead:

Additionally (and a little on the side), reinstalling the Legacy version of Ironbug would not trigger errors but would not show up in Grasshopper.

Currently Using:

  • Latest version of Legacy
  • OpenStudio 2.9.1
  • Ladybug Tools 1.5
  • Windows 11

Thanks!