Advanced computer simulation for analysis and design of electrified transportation systems: electric plants and drives