CenterForTheBuiltEnvironment / pythermalcomfort

Package to calculate several thermal comfort indices (e.g. PMV, PPD, SET, adaptive) and convert physical variables.
https://pythermalcomfort.readthedocs.io/en/latest/
MIT License
145 stars 52 forks source link

Wind chill differences in Python and R #124

Open number9527-12 opened 1 month ago

number9527-12 commented 1 month ago

Describe the bug Here are the differences we have identified:

Wind Chill Index (WCI) in Python


In Python, the function is link:

wci = (10.45 + 10 * v**0.5 - v) * (33 - tdb)

The result is calculated in W/m² and considers the heat loss from a cylindrical flask.

Wind Chill Temperature (TWC) in R


In R, the function is link:

twc = 13.12 + 0.6215 * ta - 11.37 * (v^0.16) + 0.3965 * ta * (v^0.16)

The result is given in °C, representing the localized cooling effect on skin due to wind.

@FedericoTartarini and Marcel to review Should we make modifications to the corresponding function file calcTWC.R in the R package?

marcelschweiker commented 1 month ago

I believe that these two parameters sound similar, but are actually different concepts. py seems to refer to AHSRAE, while R to ISO