EV design – energy consumption

The high voltage battery of an electric vehicle (EV) is one of the most important components since it dictates the dynamic performance, range and charging time of the vehicle. In order to calculate the size of the battery we need two main inputs: the average energy consumption and the range of the vehicle.

This article is explaining how to calculate the energy consumption of a vehicle and it’s part of a EV design series:

  • EV design – introduction
  • EV design – energy consumption
  • EV design – battery
  • EV design – electric motors
  • EV design – mode management
  • EV design – vehicle systems and components
  • EV design – simulation model
  • EV design – simulation results and evaluation

WLTC drive cycle

The average energy consumption of the vehicle Eavg [Wh/km] will be calculated on a homologation cycle. For our example we are going to use the WLTC drive cycle. The test procedure WLTP (Worldwide harmonized Light vehicles Test Procedure) contains several driving cycles:

  • Class 1 – low power vehicles with PWr <= 22
  • Class 2 – vehicles with 22 < PWr <= 34
  • Class 3 – high-power vehicles with PWr > 34

Where PWr [kW/Tonne] is the power-to-weight ratio, defined as the ratio between the rated engine power and kerb weight.

\[PW_{r} = \frac{P_{max}}{m_{v}} \tag{1}\]

Our target is to convert the 16MY Jaguar F-type vehicle into a battery electric vehicle (BEV). Therefore we need to understand what is the current energy consumption of the vehicle. From the article EV design – introduction we can extract the maximum power and kerb weight and calculate the power-to-weight ratio:

\[PW_{r} = \frac{253.538}{1.741} =145.6278 \]

Since the vehicle’s PWr is bigger than 34, we are going to use the WLTC Class 3 driving cycle to calculate the energy consumption.

Speed profile for WLTC Class 3 driving cycle

Image: Speed profile for WLTC Class 3 driving cycle

The parameters of the WLTC Class 3 cycle are summarised in the table below:

LowMediumHighExtra HighTotal
Duration, s5894334553231800
Stop duration, s15049318235
Distance, m309547567162825423266
% of stops26.5%11.1%6.8%2.2%13.4%
Maximum speed, km/h56.576.697.4131.3
Average speed without stops, km/h25.344.560.794.053.5
Average speed with stops, km/h18.939.456.591.746.5
Minimum acceleration, m/s2-1.5-1.5-1.5-1.44
Maximum acceleration, m/s21.6111.6111.6661.055

The method to calculate the energy consumption is straight forward and it makes use of the Scilab/Xcos simulation environment. The steps are as follows:

  1. Determine the mathematical expression of the energy consumption
  2. Create a Scilab script file (*.sce) for the vehicle parameters (input data)
  3. Create the Xcos block diagram (*.zcos)
  4. Run the simulation on the WLTC driving cycle
  5. Create a post-processing script (*.sce) and analyse the result

Mathematical expression of the energy consumption

The energy consumption is calculated based on the road loads. The total road load Ftot [N] is the sum of the inertial force, road slope force, road load (friction) force and aerodynamic drag force.

\[F_{tot}=F_i + F_s + F_r + F_a \tag{2}\]


Fi [N] – inertial force
Fs [N] – road slope force
Fr [N] – road load force
Fa [N] – aerodynamic drag force

The inertial force is given by the equation:

\[F_i = m_v \cdot a_v \tag{3}\]


mv [kg] – total vehicle mass
av [m/s2] – vehicle acceleration

The vehicle acceleration can be calculated as:

\[a_{v} = \frac{\Delta v}{\Delta t} \tag{4}\]


Δv [m/s] – speed difference
Δt [s] – time difference

The road slope force is given by the equation:

\[F_s = m_v \cdot g \cdot sin(\alpha_s) \tag{5}\]


g [m/s2] – gravitational acceleration
αs [rad] – road slope angle

The road load (friction) force is given by the equation:

\[F_r = m_v \cdot g \cdot c_{rr} \cdot cos(\alpha_s) \tag{6}\]


crr [-] – road rolling resistance coefficient

The aerodynamic drag force is given by the equation:

\[F_a = \frac{1}{2} \cdot \rho \cdot c_d \cdot A \cdot v_{v}^2 \tag{7}\]


ρ [kg/m3] – air density at 20 °C
cd [-] – air drag coefficient
A [m2] – vehicle frontal area
vv [m/s] – vehicle speed

The total power Ptot [W] is calculated as the product between the total road forces and the vehicle speed:

\[P_{tot} = F_{tot} \cdot v_{v} \tag{8}\]

By integrating the total power over time (for the whole duration of the cycle), we get the total energy consumption Etot [J]:

\[E_{tot} = \int P_{tot} \cdot dt \tag{9}\]

All the equations above will be used in the Xcos block diagram in order to calculate the energy consumption of the vehicle over the drive cycle.

Vehicle parameters (input data)

The main vehicle parameters used for the WLTC drive cycle are explained in the article EV design – introduction defined in a Scilab script (*.sce).

vehMassKerb = 1741; // [kg]
vehMassDriver = 80; // [kg]
vehMassfm = 1.05; // [-]
vehMass = vehMassKerb * vehMassfm + vehMassDriver; // [kg]
vehg = 9.81; // [m/s^2]
vehcd = 0.36; // [-]
vehfa = 2.42; // [m^2]
vehro = 1.202; // [kg/m^3]
roadSlope = 0; // [rad]
roadCrr = 0.011; // [-]

Xcos block diagram (vehicle simulation over WLTC)

The Xcos block diagram model is run for 1800 s, which is to total duration of the WLTC drive cycle. A Clock block is used to generate a time step of 1 s. This time step is set because the input data (WLTC speed profile) is sampled at 1 s. The speed profile is read with a From workspace block. Before running the simulation we need to load the speed profile as a variable of type structure, containing the speed values and time (e.g. WLTC.time and WLTC.values).

Xcos block diagram for WLTC energy consumption

Image: Xcos block diagram for WLTC energy consumption

Since the sample time is 1 s, which means Δt = 1, the vehicle acceleration will be calculated as the difference between the current speed value and the previous speed value. In the WLTC driving cycle, the road slope is considered 0 rad, therefore will not have any influence on the energy consumption.

Depending on the sign of the total power, we can distinguish between the acceleration and braking (deceleration) phases of the vehicle. The integration of the power, for a Δt = 1, gives the energy. The acceleration and braking energies are calculated separately and then summed up to give the total energy.

By dividing the last calculated value of the total energy (3205.39 Wh) to the total length of the WLTC drive cycle (23.266 km), we get the average energy consumption of the vehicle, 137.8 Wh/km.

The WLTC speed profile, total road load forces, total power, acceleration energy, brake energy and total energy are saved in the Scilab workspace for further visualisation and analysis.

Data post-processing

Using a Scilab script we can plot the drive cycle simulation result. In this particular case we are going to plot only the acceleration, braking and total energy.

plot(WLTC_vehTotEgy_kWh.time, WLTC_vehTotEgy_kWh.values,'k')
plot(WLTC_vehAccEgy_kWh.time, WLTC_vehAccEgy_kWh.values,'r')
plot(WLTC_vehBrkEgy_kWh.time, WLTC_vehBrkEgy_kWh.values,'b')
xlabel('Time [s]','FontSize',2)
ylabel('Energy [kJ]','FontSize',2)

Running the script will generate the following plot.

WLTC energy consumption

Image: WLTC energy consumption

The same model can be used for any other vehicle, the only change needed being the input parameters update. Also, the simulation can be run for different drive cycles, like FTP or NEDC or for custom cycles which can include also a road gradient.

The average energy consumption over WLTC drive cycle is 137.8 Wh/km. This value will be used to calculate the total energy required for the high voltage battery.


  1. Sagar Patil
  3. Veeru
  4. Vedant Kulkarni
  5. Vedant Kulkarni
  6. Saurabh
  7. Mudit Verma
  8. Samir darji
  9. Georg
  10. Shane Smith
  11. Shrikant
  12. MM

Leave a Reply

Ad Blocker Detected

Dear user, Our website provides free and high quality content by displaying ads to our visitors. Please support us by disabling your Ad blocker for our site. Thank you!