TIV algorithms for poultry environmental control