When sizing a PV array for a battery-based off-grid system, which factor most directly determines the minimum array size?