Modeling heat stress under different environmental conditions.