Calibration and optimization of an electric vehicle powertrain system | Synapse