This repo contains the MATLAB code for component sizing of a battery electric vehicle (BEV) powertrain. This involves sizing the motor to meet the power requirements and sizing the battery capacity for range requirement which fulfills the battery power requirement. See Report.pdf