SWIG director method error & Recursion error when simulating UTCI

Hi @chris or @mostapha ,

The UTCI simulation that I am doing resulted in this error
Would you be able to pinpoint if this is a bug or something else?
I have tried updating the ladybug, but since other simulations work well besides UTCI and PMV, I guess this relates to how I linked components.


Thank you for your help

Regards,
Ricardo
questions.gh (101.5 KB)

Tried all the methods I could find in the forum including reinstallation, updating, and syncing LB to grasshopper.
Also tried using @chris 's sample UTCI file under the tree but the problem still happened…

questions.gh (249.0 KB)

Thanks for reporting this issue, @ricardo . There was a bug that I just fixed here:

… and it will be available with the LB Versioner in an hour or so.

However, I can already tell you that your script is not running the way that you think it’s running. EnergyPlus cannot model orphaned Faces (those Faces without a parent Room) in any other way than as Shade. So, when you do something like this:

Any affects of the vegetation material are ignored except for the vegetation reflectivity, which is carried over to the Shade object that is used in the EnergyPlus simulation under the hood of the UTCI map. So, if you want to model evapotranspiration effects of vegetation on this Face, you have to add it to a Room so that EnergyPlus can simulate it as a green roof and not just as a Shade.

Thanks, @chris

I ran the LB Versioner and updated it to 1.8.47 (is this the one?), but the issue still persists.
I tried to use the component exactly as in your example file, where:

  • I did not put anything on the faces
  • I put two shades
  • I put the ground as rooms
  • Then add the vegetation as the surface with grids, so I do not consider the reflectivity and evapotranspiration as I just wanted to know the temperature of the vegetation using UTCI.

May I know if you are able to simulate the UTCI using my file and manage to visualize the thermal map using the csv file from UTCI? I am suspecting my installation (But I have reinstalled everything so far) and also tried it in another computer…
questions.gh (249.0 KB)

Error reproduced using @chris 's sample file for UTCI

The version I am using: