An artificial intelligence-based electric multiple units using a smart power grid system | Synapse