Energy storage charging pile capacity model