View source: R/calcComfInd.R View source: R/ComfortIndices.r
| calcComfInd | R Documentation |
calcComfInd calculates one or more thermal comfort indices using a list of climatic conditions.
calcComfInd(lsCond, request = "all")
comfind(lsCond, request = "all")
lsCond |
a list of climatic conditions and additional variables necessary for one or more of the indices (see details below). |
request |
a vector with one or more comfort indices (see details below). |
The list lsCond could contain one or more of the following variables:
| ta | Air temperature in (degree C) |
| tr | mean radiant temperature in (degree C) |
| vel | Air velocity in (m/s) |
| rh | Relative Humidity (%) |
| clo | clothing (clo) |
| met | metabolic rate (met) |
| wme | External work (met) |
| tu | turbulence intensity (%) |
| tmmo | mean monthly outdoor temperature in (degree C) |
| ltime | Exposure time (min) |
| pb | Barometric pressure (torr) |
| wt | weight (kg) |
| ht | height (cm) |
| trm | Running mean outdoor temperature in (degree C) |
| age | age (years) |
| gender | gender (female = 1) |
| tsk | mean skin temperature in (degree C) |
| psych | factor related to fixed effect on perceived control |
| apCoeff | adaptive coefficient for pmv |
| epCoeff | expectancy factor for pmv |
| asCoeff | adaptive coefficient for set |
| esCoeff | expectancy factor for set |
| asv | actual sensation vote (0 = neutral) |
| tao | outdoor air temperature |
| rho | outdoor relative humidity |
| frad | 0.7(for seating), 0.73(for standing) [-] |
| eps | emissivity [-] |
| ic | 1.084 (average permeability), 0.4 (low permeability) |
| tcr | initial values for core temp |
| tsk | initial values for skin temperature |
| basMet | basal metabolic rate |
| warmUp | length of warm up period, i.e. number of times, loop is running for HBx calculation |
| cdil | value for cdil in 2-node model of Gagge (applied in calculation of HbEx) |
| sigmatr | value for cdil in 2-node model of Gagge (applied in calculation of HbEx) In case a variable is not given, but necessary for the respective index, a standard value from a list of values is used. |
The vector request can contain the following elements:
| Element | Description | Required variables |
| "all" | Calculation of all indices described below | all variables |
| "pmv" | Predicted mean vote | ta, tr, vel, rh, clo, met, wme |
| "ppd" | Predicted precentage dissatisfied | ta, tr, vel, rh, clo, met, wme |
| "tnhumphreys" | Neutral temperature according to Humphreys | tmmo |
| "tAdapt15251" | Adaptive comfort temperature according to EN 15251 | trm |
| "dTNZ" | Distance to thermoneutral zone | ht, wt, age, gender, clo, vel, tsk, ta |
| "ATHBpmv" | Adaptive thermal heat balance vote based on pmv | ta, tr, vel, rh, met, wme, psych, trm |
| "ATHBset" | Adaptive standard effective temperature | ta, tr, vel, rh, trm, met, wme, pb, ltime, ht, wt, psych |
| "ATHBpts" | Adaptive thermal heat balance vote based on set | ta, tr, vel, rh, trm, met, wme, pb, ltime, ht, wt, psych |
| "apmv" | Adaptive predicted mean vote according to Yao et al. | ta, tr, vel, rh, clo, met, wme, apCoeff |
| "ptsa" | Adaptive predicted thermal sensation vote according to Gao et al. | ta, tr, vel, rh, clo, met, wme, pb, ltime, ht, wt, asCoeff |
| "epmv" | pmv adjusted with expectancy factor based on Fanger and toftum | ta, tr, vel, rh, clo, met, wme, epCoeff, asv |
| "ptse" | Predicted thermal sensation vote based on set and adjusted with expectancy factor according to Gao et al. | ta, tr, vel, rh, clo, met, wme, pb, ltime, ht, wt, esCoeff, asv |
| "set" | standard effective temperature based on two node model by Gagge et al. | ta, tr, vel, rh, clo, met, wme, pb, ltime, ht, wt |
| "et" | Effective temperature based on two node model by Gagge et al. | ta, tr, vel, rh, clo, met, wme, pb, ltime, ht, wt |
| "tsens" | Predicted thermal sensation | ta, tr, vel, rh, clo, met, wme, pb, ltime, ht, wt |
| "disc" | Predicted discomfort | ta, tr, vel, rh, clo, met, wme, pb, ltime, ht, wt |
| "ps" | Predicted percentage satisfied with the level of air movement | ta, tr, vel, rh, clo, met, wme, pb, ltime, ht, wt |
| "pd" | Predicted percentage dissatisfied due to draft | ta, tr, vel, rh, clo, met, wme, pb, ltime, ht, wt, tu |
| "pts" | Predicted thermal sensation vote based on set | ta, tr, vel, rh, clo, met, wme, pb, ltime, ht, wt |
| "HBxst" | Human body exergy consumPtion rate using steady state method | ta, tr, vel, rh, clo, met, tao, rho, frad, eps, ic, ht, wt, tcr, tsk, basMet, warmUp, cdil, sigmatr |
calcComfInd returns one or more rows with the comfort indices listed as request. For details see details above.
In case one of the variables is not given, a standard value will be taken from a list (see createCond for details.
Sophia Mueller and Marcel Schweiker. Further contribution by Shaomi Rahman.
For references see individual functions.
see also calcPMVPPD, calc2Node, calcHbExSteady, calcATHBpmv2015, calcdTNZ, calcPMVadj, calcPtsa, calctAdapt
## Creating list with all values
lsCond <- createCond()
## Requesting all comfort indices
calcComfInd(lsCond, request="all")
## Requesting a single index
calcComfInd(lsCond, request="pmv")
## Requesting multiple indices
calcComfInd(lsCond, request=c("pmv", "ptse"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.