| calcVTG | R Documentation | 
Function to calculate vertical air temperature gradient using the predicted percentage of dissatisfied.
calcVTG(ta, tr, vel, rh, clo, met, v_tmp_grad)
ta | 
 a numeric value presenting air temperature in [degree C]  | 
tr | 
 a numeric value presenting mean radiant temperature in [degree C]  | 
vel | 
 a numeric value presenting air velocity in [m/s]  | 
rh | 
 a numeric value presenting relative humidity [%]  | 
clo | 
 a numeric value presenting clothing insulation level in [clo]  | 
met | 
 a numeric value presenting metabolic rate in [met]  | 
v_tmp_grad | 
 vertical temperature gradient between the feet and the head [degree C/m]  | 
Calculates the percentage of thermally dissatisfied persons with a vertical temperature gradient between feet and head. Applicable only for velocity(vel) < 0.2 m/s
Predicted Percentage of Dissatisfied with vertical temperature gradient in [%]
Acceptability in [boolean]
Code implemented in to R by Shoaib Sarwar. Further contribution by Marcel Schweiker.
Original code in Python by Tartarini & Schiavon (2020) <doi:10.1016/j.softx.2020.100578>
calcVTG(25,25,0.1,50,0.5,1.2,7) 
# returns Vertical Air Temperature Gradient:12.4, Acceptability:FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.