Integral energy as a measure of soil-water availability