A raw UTCI calculation in Ladybug

Hi Mostapha, Chris and team.

I was wondering if it was possible to add a raw UTCI calculator to the toolbox.

I’d like to input, lets say, 4 equally long lists of dryBulpTemp, MRT, Vwind10 and RelHum.

And then I dont want the extra analysisPeriod parts and statistics in it.

The reason I’m asking, is because we are currently working on a spatial mapping of these inputs and would like the combined output to be UTCI for urban plans.

I currently have 9000 values in each list and when I graft all inputs, it seems to work, but it’s slow and I’m pretty that this way the script runs everything including all python-headers and so on, 9000 times.

And also, is it possible to do a “simple” calculation like this in threaded mode?

Anyways, thanks as always for a great suite.

PS Chris: thanks for the tutorials on performance.network, it is really beneficial - but you should wish for a new microphone for christmas! :wink:


Hi Mathias,

Sorry for the late response. I am not sure what you are asking here. If you plug in lists of equal value without any LB Headers, the UTCI component should do exactly what you are talking about. There’s no need to graft unless you are trying to run lists of lists (instead of just one list).

Because the calculation of UTCI is so fast (it’s just a polynomial equation), it isn’t worth it to run individual calculations of UTCI in parallel. In other words, it takes more computational power to figure out how to divide the task between threads than to compute a single UTCI value. However, if you have a whole spatial set of UTCI points and you want to run them for several hours of the year, it can often make sense to run each hour on it’s own core. This is effectively with the UTCI microclimate maps do here:

http://hydrashare.github.io/hydra/viewer?owner=chriswmackey&for…

Glad to hear that you like the PerformanceNetwork talks and, yes, I was not too electronic-savy when I picked out my current headset.

-Chris