The two systems work in collaboration. In fact, renewable energy without storage is clean energy lost to the site. Many PV systems generate more energy than they need so storing that energy for later use can bring significant advantages to a business.
The batteries can be programmed to charge up when there is excess generation available and then used later to provide power either during peak energy use on site or at times of the day when the sun stops shining or the wind stops blowing.
You can read more about this on our recent blog.