In this section, the energy consumption and the travel time models are developed based on those of Schaltz [
30] and Kaloko et al. [
31]. First, we present the force and powertrain models that are the basis for the energy consumption model. Then, a traffic light model and a standard speed profile are used to define the energy consumption and the travel time models as a function of the driving speed. It should be noted that this general formulation calculates the energy consumption based on generic models. Since the amount of energy needed for travelling is the same for all types of vehicles, this model can be adopted for gas-fueled, electrical, or hybrid vehicles; with various sets of parameters, such as mass, transmission ratios, and motor efficiency; and with minor differences at the power source model.
2.1. Force Model
We consider a force model consisting of the gravitational force, aerodynamic drag, rolling resistance, and inertial force, as shown in
Figure 1. In particular, the gravitational force is given by
where
is the road slope,
g is the gravity of earth, and m is the vehicle mass. The aerodynamic drag force is given by
where
is the air density,
A is the vehicle frontal area,
is the vehicle form coefficient, and
v is the velocity. The rolling resistance force is given by
where
is the static resistance coefficient and
is the dynamic resistance coefficient. The inertial force is given by
where
a is the acceleration,
I is the shaft moment of inertia,
G is the gear ratio, and
is the wheels radius. In general,
G is a function of the driving speed. In the case of an EV, the gear ratio should be replaced with a constant. The sum of the forces equals the traction effort extracted by the motor,
, and satisfies
By substituting Equations (
1)–(
4) into Equation (
5), one obtains
2.2. Powertrain Model
The powertrain supplies the power from the battery to the wheels, which provides the required traction force according to Equation (
6). The powertrain considers the gear box, the shaft, the three-phase AC motor, the inverter, and the regenerative braking mechanism. Nonlinear motor efficiency,
, and gear-box discontinuity should be taken into account in order to calculate the power extracted from the battery. A standard motor efficiency map and a four gears transmission system were implemented based on [
32]. According to those models, both gear ratio selection and motor efficiency are functions of velocity. The motor torque,
, and the motor angular velocity,
, are given by
and
respectively, where
is the gear efficiency. The power consumed from the battery,
, is therefore known and can be expressed by
where
is the inverter efficiency. The inverter and gear efficiencies are assumed to be constant. By substituting Equations (
7) and (
8) into Equation (
9), one obtains
In cases of negative
, generally when decelerating, energy can be used for recharging the battery. This regenerative braking mechanism [
33] changes
to
in the powertrain model from Equation (
10). The generator effectiveness,
, is relatively low due to the additional mechanical braking and is assumed to be constant [
33].
2.3. Travel Time and Energy Consumption Models
In this subsection, the travel time and energy consumption models are defined in terms of vehicle velocity and the traffic light model. These models describe a multi-segment and single vehicle problem. In urban environments, energy consumption is subject to traffic light status. When arriving at a red light, the driver is forced to stop, and this significantly increases energy consumption and travel time. In this paper, these stops are considered as time and energy penalties. The traffic signal status at each intersection is assumed to be periodic, with a specified time offset, green time, and cycle duration at each intersection. The typical traffic signal status is presented in
Figure 2, where
T is the period time, the green light timing is within the first
seconds, the phase offset from time zero is
, and
k is the number of complete cycles that have passed from an arbitrary initial time until the vehicle arrives at intersection
i, which can be referred to as the green window number.
According to this traffic light model, the
ith intersection is at the end of segment
i and the intersection arriving time,
, when the traffic light is green, satisfying
The number of the green cycle that the car uses at intersection
i,
, is given by
where
is an integer division.
For the sake of simplicity, a standard driving profile [
2,
34] is used in this paper. According to the driving profile, the route is divided into several segments, where each segment ends with a traffic light and has a target speed. Then, each segment is divided into two intervals: transition and steady-state intervals. During the transition interval, the vehicle accelerates to the target speed of the segment. Since optimal speed planning will often result in not stopping at red lights, the acceleration is assumed to be relativity small and the duration of the acceleration phase is the same for each segment and defined by
. This assumption simplifies the driving model but neglects constraints for the maximum power, as well as jerk constraint for driving comfort. The value of
parameter can vary for different vehicles and is dependent on the vehicle’s acceleration performance and the maximum speed limit. Then, as part of the steady-state interval, the vehicle travels at a constant speed for the remainder of the segment. Thus, the acceleration at time
t is given by
The distance covered in the transition interval is
The travel time of each segment, consisting of the transition and steady-state times, is given by
By substituting Equation (
14) into Equation (
15), we obtain
In the case where the vehicle has not stopped at a red light, the arrival time at the
ith intersection is obtained by summing the travel time of each segment, as presented in Equation (
16):
where
is the velocity vector for the
N-segment route and
is the initial time.
An example of a traffic light status map for a two-segment route is presented in
Figure 3 with the parameters in Table 3, for
and
. The green windows (when the vehicle arrives at both intersections at a green light) demonstrate the problem’s complexity.
Figure 3 shows that the traffic light condition from Equation (
11) is neither a convex nor a continuous set. It can be seen that the vehicle will encounter green lights at the intersection at the end of the first segment if it drives, for example, at
km/h or
km/h. If it drives with
km/h, to encounter green lights at the second intersection, it could drive at, for example, at 45 or 25 km/h.
The travel time in Equation (
16) is calculated without taking the vehicle stops into account. The time stops penalties are caused by the idling time until the traffic light turns green, and satisfies
where the deceleration time before the red light is considered as part of the waiting time and the stopping condition for each intersection,
, is based on Equation (
11) and is given by
The total travel time,
, is obtained by summing up the travel time from Equation (
16) and the time stopping penalty from Equation (
18) in each segment from the segments set,
, in an
N-segment route:
By substituting Equations (
16) and (
18) into Equation (
20), one obtains
The energy consumption calculations consider both the auxiliary loads energy and the energy that is used for driving. Auxiliary loads power,
, which includes radio, air conditioning, lights, and electrical control units, is assumed to be constant [
30]. Therefore, the auxiliary loads energy is related to the total travel time and is given by
The driving energy consumption is calculated by a numerical integration of power over time. According to the presented profile, each segment is divided into intervals, in which the battery power from Equation (
10) is assumed to be constant. Therefore, the energy consumed in the transition interval is
where
is the segment slope that is assumed to be constant for each segment. Although the velocity during the transition interval is not constant, an average value of
is considered in the power calculation from Equation (
10). This approximation is relatively minor since
and
are close to GLOSA systems, as the vehicle does not stop at red lights. The full equation is presented in Equation (
28). In the remaining distance,
, the vehicle maintains a constant speed until the next traffic light. Thus, the energy consumed in this steady-state interval is given by
In cases when the vehicle stops, the total energy includes a stop penalty term that consists of two contributions: the vehicle stop and the re-acceleration that replaces the transition interval in Equation (
23). Therefore, the energy consumption penalty satisfies
The total energy consumption,
, is obtained by summing the intervals energies in Equations (
23)–(
25), which results in
Therefore, the total energy consumed from the battery is given by summing Equations (
22) and (
26), yielding
By substituting Equations (
22)–(
26) into Equation (
27), one obtains