Intelligent renewable energy systems