Influence of cost function on EV powertrain sizing