A Traffic Control Scheme to Optimize the Battery Pulsed Discharge