MULTI TIME SCALE OPTIMAL CONFIGURATION OF USER SIDE ENERGY STORAGE