Artificial intelligence improves forecasting for renewable energy systems