Thermoregulatory costs estimates

Important cautions:
 For temperature data, the program's default 'assumption' is that a value of zero = bad data (or no data). If your temperatures include real values of zero, then use .001 (or some other small but nonzero number) instead of zero.
 The program will attempt to find the highest 6 and 12h readings, so the implicit assumption is that your climate data are sampled at least once per hour (higher sampling rates are OK).
For each point in the data file, the necessary metabolic rate is computed according to the following rules:
Note that if you have only one temperature measurement, or if a dayactive species never has access to sunlight (e.g., stays in deep shade), you can select the shade temperature as the sun temperature (in other words, use the shade temperature measurement twice. 
When Te < LCT in the inactive part of the daily cycle, if the animal can use torpor (selected in the 'options' window), one of two calculations are performed:
 if Te is at or above 1 °C less than a minimal (defended) Tb, the metabolic rate is reduced from BMR in proportion to how close Te is to minimum Tb.
 if Te is lower than 1°C below the minimum Tb, metabolic rate is computed as (minimum Tb  Te) * C_{th}
 NOTE: the torpor algorithms do not include the energy cost of warmup.
Flowcharts (decision trees) for calculations of environmental temperature and thermoregulatory costs are at the end of this page.
Program output includes:
mean metabolic rate (watts)
factorial increase of mean metabolic rate above BMR
highest single metabolic rate (watts)
factorial increase of highest metabolic rate above BMR
percent of total samples for which metabolic rate = BMR (i.e., Te > LCT)
mean metabolic rate for all samples where Te < LCT
factorial increase above BMR for mean metabolic rate for all samples where Te < LCT
maximum daily average (watts), and expressed as factorial increase above BMR
maxima over 6 and 12 hours (watts), and expressed as factorial increase above BMR
mean metabolic rate while in torpor (watts), and expressed as factorial change from BMR
percent of time spent in torpor
NOTE: For nightime data, if a value for shade temperature is missing, the program will attempt to use the sun temperature value instead. This substitution does not occur for daytime data.
These thermal calculations are performed in one of two ways:
One individual at a time (click the 'compute costs' button): The user enters the animal's thermal parameters in edit fields in the main program window, selects the time, sun, and shade temperature channels, and then starts calculations. Results are shown after all Te data are processed:
Optionally, the computed costs for each entry in the main data file can be saved in a new channel (if the file has < 40 channels).
Multiple individuals (species) in a spreadsheet (click the 'read .csv file and save results' button): The user selects the time and two Te channels (sun and shade) and then opens a spreadsheet file (comma separated variables; .csv) containing a series of thermal parameters for different species, sexes, etc. The maximum number of variables in the .csv spreadsheet is 50. Each row of the spreadsheet (up to 800) contains data for one individual or species. You need to select the columns that contain:
an indicator (yes, no, y, n, 1, 0) of whether the animal can 'use' sunlight to warm itself. If true, the calculations use the 'sunshine' value in the main data file of temperature data. body temperature, in degrees C minimum thermal conductance, in watts/degree C (here, degrees C is the gradient between body temperature and environmental temperature). the Lower Critical Temperature (LCT) in degrees C. Basal Metabolic Rate (BMR); the units are either watts or ml O_{2}/min (selected in the 'options' window). an indicator (yes, no, y, n, 1, 0) of whether the animal can use torpor to save energy during the inactive phase (night or day) of its daily cycle. the minimum body temperature (Tb; degrees C) that the animal will tolerate in torpor. The lowest environmental temperature at which this is achieved without increasing metabolism is assumed to be 1 °C lower than minimum Tb. At lower Te, the animal will increase metabolic heat production to maintain Tb at the minimum value. The program uses the thermal conductance value (C_{th}) to calculate this metabolic rate. an indicator (yes, no, y, n, 1, 0, D, d, N, n) of whether the animal's active phase is during the day (diurnal) or at night (nocturnal). A 'yes' or '1' value or equivalent means the animal is diurnal.
For both methods, the 'options' button opens a window where you can select a number of alternate ways of handling data and calculations, including:
For each spreadsheet entry, the program runs through the Te channels from the main data file. The combined results can be saved, along with the raw data from the 'source' .csv file, in a userselected spreadsheet file. The program always saves a column containing the mean thermoregulatory cost in watts.
Other thermoregulatory data columns to be placed in the spreadsheet are selected from the window at right:
You can adjust the number of days averaged for the 'Highest Daily Mean' value using the window below:
Note that if you elect to NOT allow torpor use, that restriction will apply globally to all entries in a .csv file. If you DO allow torpor use, each entry in a .csv file will indicate whether or not torpor is applicable to that entry. 
Times are computed using the ‘Sunrise equation’; this example shows an annual day length cycle for a tropical latitude (~ 14 ° south).
The Convection… button opens a window for selecting whether to use wind speed to adjust conductance, and if so, which data channel contains wind speed data..
The Set Data Rejection Rules… button opens a window for selecting whether to use wind speed to adjust conductance, and if so, which data channel contains wind speed data..
This flowchart shows how T_{e}, time, and physiological parameters are used to compute thermoregulatory energy costs:
Other links: 