V2G technology to mitigate PV uncertainties