Running Ladybug Legacy and Ladybug Tools in parallel / EntryPoint Runtime error

Hey there,

I’m trying to run a part of a simulation with legacy components, since I want to run a daylight + artificial light simulation that seems not to be supported in the current LBT (more here: Daylight & Electric Light Simulation).

My problem:

I used pollination to install LBTs (1.8.0) in a clean way. OpenStudio 3.7 lives in C:\Program Files\ladybug_tools\openstudio

The legacy components (0.0.66) are referring to C:\openstudio-2.9.1. This seems to work when I’m checking the Honeybee_Honeybee component and print sc.sticky[“honeybee_folders”] etc.

Now the problem: When using the Honeybee_Export To OpenStudio I’m receiving:

Runtime error (EntryPointNotFoundException): Der Einstiegspunkt “CSharp_OpenStudio_toPath__SWIG_0” wurde nicht in der DLL “openstudio_csharp.dll” gefunden.

Traceback:
line 5300, in tryGetOSPath, “”
line 5423, in main, “”
line 257, in setSite, “”
line 5683, in script

When I remove LBT this doesn’t occur and the component works fine.

The only explaination I currently have is:

  • The correct openstudio.dll is used (in C:\openstudio-2.9.1…) but as soon as LBT is installed, instead of the openstudio_csharp.dll in the same folder the dll with the same name in the LBT folder is executed.

As of now, I couldn’t find a way to change this. I saw a couple of posts with similiar or identical issues. Is there anyone who sucessfully runs legacy and LBT in parallel? If so, what versions of legacy, LBT and the corresponding openstudio installations are you running and where did you store openstudio for each of them?

Hi @flx, I responded to the other questions. You don’t need to use the legacy plugins.

good stuff, thanks!

This doesnt solve the problem, but there’s solid hope that this problem doesnt need to be fixed then. Nice!