Batteries are not 100% efficient in charging/discharging and are costly to buy and require replacement over time. Again Wind and Solar are at best an augmentation power source and not able to provide long term economical and reliable power.Have u heard about "Batteries"
As best I can tell the best use of solar is solar thermal plants where large arrays of mirrors focus heat on a heat exchanger using liquid sodium to generate steam to run steam turbine generators. The numbers look good for that and the thermal mass keeps some generation going through the night. However this doesn't scale down to small village or backyard type applications and works best in desert conditions.