AI-powered electrical systems