I believe duration of exercise and intensity (aerobic vs anaerobic) and prior consumptions are the main factors. Anything else? Is there a psychological element too?