PEAK SHAVING AND VALLEY FILLING FOR RENEWABLE ENERGY INTEGRATION