I am trying to calculate the effect of trees in outdoor comfort calculations. I want to include different % of tree coverage. I can easily change the ratio of trees in “Dragonfly assign model UWG properties”. However, I would also like to physically add the trees in Rhino as their position in the urban area makes a difference in the values of UTCI. I am trying to figure out how does the above mentioned parameter measures the tree coverage when you input them as “context shade” in the model. I am trying with a very simple model in an area of 20x20 m and with only one building and one tree input. When it comes to the calculation of the building density is the same as the parameter shows in the report. However, when I try for the tree coverage what the “Dragonfly assign model UWG properties” gives is not the same as if I manually calculate the horizontal surface of the tree divided per total area.
I input the trees with the Pando tools.
Would someone please be able to let me know how does the program calculate this specific parameter, or where can I find documents related to this?

It’s hard to know what exactly you are referring to here without any screenshots or a minimal sample file that recreates what you are describing.

What I can tell you is that, as long as you set the uwg_is_veg_ property to be True when you create the DF Context Shade, then the ratio of tree coverage to ground area will be correctly computed for the UWG input.

Here is the source code that does this automatic tree coverage calculation:

And note that the UWG exepcts the tree coverage to be computed with just the exposed ground area (discounting the building footprint area):

Hi @chris,
sorry for taking so long to reply, I was trying to figure out what does it exaclty takes as horizontal area when I input context shade as vegetation. I will add here the file. I have considered a study area of 20x20m and one building with dimensions 5x10 m, I also add a tree in a conical shape and try to calculate manualy the tree coverage to compare it to what the component brings out.

I am affraid, I do not totally understand how the component calculates the tree coverage. As you said in the previous message it does not consider the area where the building is so then we remain with 400-500 = 350 m2 for the area. The radius of the tree I input is 2.8 m so the horizontal surface of the tree would be 24,62 m2. So in this case the tree coverage with my calculations would be around 0.07% while the components shows 0.14%. So it more or less doubles the actual horizontal area of the tree and the same happens when changing the crown shape.

That is why I wonder if this doubling happens due to the shade which comes at the ground, which is probably bigger then the actual horizontal surface of the crown?

I am trying to understand this to figure out how many trees I can add for a certain % of tree coverage.

You are not modeling the vegetation geometry correctly for UWG calculation since you are essentially double-counting the tree horizontal area by modeling both a top and bottom to the tree. Generally, speaking you should only be modeling the top of the tree since this is the part that can actually block the sun and the bottom part has no bearing on the sun calculation.

So you should delete the bottom part of your tree cone and then it will be correct.

I just added more detail to the Grasshopper component to make this clearer for others going forward: