Sizing of battery power pack and performance analysis in an electric vehicle