How Artificial Intelligence Can Solve Crisis in the Energy Sector