220v battery pack capacity calculation