Battery production intelligent energy storage