UNDERSTANDING PEAK SHAVING OPTIMIZING ENERGY USAGE WITH STORAGE