Artificial Intelligence in Green Energy Production