Development of Models, Controls, and Applications for Community Energy Storage (CES) Systems Considering Used EV/PHEV Batteries