OPTIMAL ALLOCATION OF ENERGY STORAGES A PERSPECTIVE OF SYSTEM INERTIA