OPTIMAL SCHEDULING OF USER SIDE ENERGY STORAGE