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
134 stars 49 forks source link

PET model - error division by zero e_max #67

Closed FedericoTartarini closed 10 months ago

FedericoTartarini commented 10 months ago

Discussed in https://github.com/CenterForTheBuiltEnvironment/pythermalcomfort/discussions/66

Originally posted by **Tequila0211** August 31, 2023 Problems with the Pet module, when I run my model with my Dataframe I get this response: " File "C:\UsersChristian\AppData\Local\Programs\Python\Python310\libsite-packages\pythermalcomfort\models.py", line 3066, in solve_pet w = esw / emax # skin wettedness ZeroDivisionError: float division by zero PS C:\Users ChristianDesktopColombiaResarchCodeZoneZoneClimateColombia> " However with other modules like UTCI or PMV I get no problems with the same data.