Explainable artificial intelligence for energy systems