Terminal energy storage