Artificial intelligence driving perception, cognition, decision‐making and deduction in energy systems: State‐of‐the‐art and potential directions | Synapse