# calcdTNZ: Calculating dTNZ, the Distance from the Thermoneutral Zone In marcelschweiker/comf: Functions for Thermal Comfort Research

## Description

`calcdTNZ` calculates the distance from the thermoneutral zone, either skin temperature or room air related.

## Usage

 ```1 2 3``` ```calcdTNZ(ht, wt, age, gender, clo, vel, tskObs, taObs, met, rh, deltaT =.1, fBasMet = "rosa", fSA = "duBois", percCov = 0, TcMin = 36, TcMax = 38, plotZone = FALSE) ```

## Arguments

 `ht` a numeric value presenting body height in [cm] `wt` a numeric value presenting body weight in [kg] `age` a numeric value presenting the age in [years] `gender` a numeric value presenting sex (female = 1, male = 2) `clo` a numeric value presenting clothing insulation level in [clo] `vel` a numeric value presenting air velocity in [m/s] `tskObs` a numeric value presenting actual mean skin temperature in [degree C] `taObs` a numeric value presenting air temperaturein [degree C] `met` a numeric value presenting metabolic rate (activity related) in [met] `rh` a numeric value presenting realtive humidity in [ `deltaT` a numeric value presenting the resolution of the matrix to be used `fBasMet` a string presenting the method of calculating basal metbolic rate. Needs to be one of "rosa", "harris", "miflin", or "fixed". Fixed will result in the value of 58.2 W/m2. `fSA` a string presenting the method of calculating the surface area. Needs to be one of "duBois" or "mosteller". `percCov` a numeric value between 0 and 1 presenting the percentage of the body covered by clothes in [ `TcMin` a numeric value presenting the minimum allowed core temperature in [degree C]. `TcMax` a numeric value presenting the maximum allowed core temperature in [degree C]. `plotZone` a boolean variable TRUE or FALSE stating, wether TNZ should be plotted or not.

## Details

The percentage of the body covered by clothes can be estimated e.g. based on ISO 9920 Appendix H (Figure H.1). A typical winter case leads to a value of around .86, in the summer case this goes down to values around .68.

## Value

`calcdTNZ` returns a dataframe with the columns dTNZ, dTNZTs, dTNZTa. Thereby

 `dTNZ ` The absolute distance to the centroid of the thermoneutral zone `dTNZTs ` Relative value of distance assuming skin temperature to be dominant for sensation `dTNZTa ` Relative value of distance assuming ambient temperature to be dominant for sensation

## Note

In case one of the variables is not given, a standard value will be taken from a list (see `createCond` for details.

## Author(s)

Marcel Schweiker and Boris Kingma

## References

Kingma, B. R., Schweiker, M., Wagner, A. and van Marken Lichtenbelt, W. D. Exploring the potential of a biophysical model to understand thermal sensation Proceedings of 9th Windsor Conference: Making Comfort Relevant Cumberland Lodge, Windsor, UK, 2016.

Kingma, B. and van Marken Lichtenbelt, W. Energy consumPtion in buildings and female thermal demand Nature Clim. Change, 2015, 5, 1054 - 1056.

Kingma, B. R.; Frijns, A. J.; Schellen, L. and van Marken Lichtenbelt, W. D. Beyond the classic thermoneutral zone Temperature, 2014, 1, 142-149.

see also `calcComfInd`
 ```1 2``` ```## Calculate all values calcdTNZ(171, 71, 45, 1, .6, .12, 37.8, 25.3, 1.1, 50) ```