Data-Driven Integration Of Renewable Energy In Smart Grid