Smart electric bus