Data-Driven Optimization Under Uncertainty For Renewable Energy Integration And Management