Week-4 Challenge WOT Condition Part-2
Objective:
- To differentiate between mapped and dynamic models.
- To explain how simulink model calculate miles per gallon & mention factors that are considered to model fuel flow.
- To run HEV ReferenceApplication with WOT drive cycle & the obtained result is compared with the same model by changing the grade and wind velocity in the environment block.
- To Compare the HEV ReferenceApplication & EV ReferenceApplication output.
Description:
Powertrain blockset:
Powertrain Blockset provides fully assembled reference application models of automotive powertrains, including gasoline, diesel, hybrid, and electric systems.
- It provides a library of automotive components as well as pre-assembled engine dynamometer and complete vehicle models for fast desktop simulation and real-time HIL testing.
- It includes a component library for simulating engine subsystems, transmission assemblies, traction motors, battery packs, and controller model.
- It provides a standard model architecture that can be reused throughout the development process.
1.Mapped and dynamic models in SIMULINK
Mapped model:

Mapped model of Motor.
- It makes use of lookup tables and the values should be pre-defined.
- The simulation time is less.
- The results obtained will not resemble the actual result.
Dynamic model:

Dynamic model of Motor.
- The values that are used as input are first calculated using the Simulink blocks so that the values resemble the actual case.
- The results obtained using this model will resemble the actual results.
- The simulation time is more.
|
Mapped Engine model |
Dynamic Engine model |
|
Mapped engines represent macro engine behaviour as a set of lookup tables (brake torque, fuel flow, air mass flow, exhaust temperature, efficiency, and emissions) as functions of commanded load and measured engine speed. |
Dynamic engines decompose engine behaviour into individual component models that account for engine dynamics, most notably intake airflow and turbocharger dynamics. |
|
Mapped engine models are suitable for analysis and design activities that do not require engine subsystem dynamic characteristics |
Dynamic engine models are suitable for designing control, estimator, and diagnostic algorithms that depend on dynamic subsystem states, for example, in closed-loop AFR control algorithm development. |
|
Mapped Motor model |
Dynamic Motor model |
|
The Mapped Motor block implements mapped motor and drive electronics operating in torque-control mode. The output torque tracks the torque reference demand and includes a motor-response and drive-response time constant. |
The model will be built using Simulink blocks and feedback from few models is also considered. |
|
Mapped Generator model |
Dynamic Generator model |
|
All the parameters will be pre-defined in the block for this model. |
This model will be built using the Simulink blocks and the all the input values will be dynamic. |
Changing Model type:
There are two methods:
a.It can be done using ‘Variant manager’ option.
In this method all the model will be displayed and we will have the option to change anyone as per the requirement.
The model can be changed by following these steps
Modeling >Design>Variant manager>Right click on which model to be accessed>opt Set as label mode active choice.

b.For this the models should be within same subsystem as shown in below snap.
In this method, just Right click on mouse> click on Variant option>Label mode active choice> Choose the required option (as shown in below snap).

2. Calculation of miles per gallon using Simulink blocks:
For HEVs

The above snap shows the Simulink model built to shows the fuel economy in Miles per Gallon using the vehicle speed, fuel flow velocity and the battery power. The HEVs use both fuel and battery power.
- The vehicle speed is integrated with time to determine the distance and converts the distance in miles by multiplying with 0.000621371.
- The battery power is converted to kWh by dividing it with 1000 and the then it is divided with 33.7 (standard value) to convert it into kWh to kWh/USgal then the value is divided by 3600 so the resulting value will be in m^3 then ot will be converted to m^3/gal by multiplying it with 0.00378541 and the resulting value from this block will be added with the fuel flow velocity.
- The fuel flow velocity is added with the value from ‘m^3 per gal’ then it is integrated and multiplied with 264.172 such that the resulting will be in US Gallon.
- Finally, dividing the distance (in miles) by fuel flow (in US Gal) we get the US MPG.
For EVs:
The above snap shows the Simulink model built to shows the fuel economy in Miles per Gallon using the vehicle speed, fuel flow velocity and the battery power. The EVs only battery power.

- The vehicle speed is integrated with time to determine the distance and converts the distance in miles by multiplying with 0.000621371.
- The battery power is converted to kWh by dividing it with 1000 and the then it is divided with 33.7 (standard value) to convert it into kWh to kWh/USgal then the value is divided by 3600 so the resulting value will be in m^3 then it will be converted to m^3/gal by multiplying it with 0.00378541 and the resulting value from this block is integrated and multiplied with 264.172 such that the resulting will be in US Gallon.
- Finally, dividing the distance (in miles) by fuel flow (in US Gal) we get the US MPG.
Factors considered to model fuel flow:
- Vehicle speed
- Fuel flow
- Battery power
3. HEV reference application:
The Hybrid Electric Vehicle reference application represents a full multimode hybrid electric vehicle (HEV) model with an internal combustion engine, transmission, battery, motor, generator, and associated powertrain control algorithms.
By default, the HEV multimode reference application is configured with:
- Mapped motor and generator.
- 1.5–L spark-ignition (SI) dynamic engine.

Powertrain configuration of Hybrid Electric Vehicle.
3a. Without changes in grade and wind velocity values.
Simulink model:

Drive cycle source:
The drive cycle source for this model is set to Wide Open Throttle (WOT) and other parameters are provided with the values as shown in below snap.

Environment sub system:
This is the subsystem where, the environmental conditions can be changed as per user requirement.
All the other parameters are kept in default condition with grade and wind velocity set to zero.
Output:

- In the first graph the blue curve is the ideal WOT cycle and the red curve is actual WOT cycle obtained for the given parameters.
- In the second graph (Speed), it can be observed that the speed of the engine and the generator are same throughout the drive cycle and rapid increase in motor speed can be observed and then after few seconds the engine speed also increases and reduces while decelerating.
- In the third graph (Torque), the torque of motor is high for few seconds during full throttle and then it reduces gradually and this is same for both motor and generator.
- In the fourth graph (Battery current), the current utilized is more till the engine is turned on, once the engine turns on the vehicle runs on both engine and electric motor power with reduced use of current.
- In the fifth graph (SOC), we can see that the SOC of the battery reduces gradually when the vehicle runs on electric motor and from 32 to 50 sec of time interval, we can see that the SOC reduces slowly because the generator charges the battery.
- In sixth graph (Fuel economy), which indicates the economy of fuel high when the vehicle runs on electric motor.
3b. With changed grade and wind velocity values.
All the parameters and the Simulink model are kept same without any changes except wind velocity and grade in environment subsystem.
Environment subsystem:
This is subsystem where the environmental conditions can be changed as per user requirement.
All the other parameters are kept same except grade and wind velocity values.
Grade is set to 110 and wind velocity to 22.22ms-1 as shown in below snap.

After making all the required changes the simulation is run for 30seconds and the following output was obtained.
Output:

- In the first graph, the blue curve is the ideal WOT cycle and the red curve is actual WOT cycle obtained for the given parameters.
- In the second graph (Speed), it can be observed that the speed of the engine and the generator are same throughout the drive cycle and we can also see that with the reduce in the current supply the motor speed reduces during this the engine speed is increased gradually. Now, for few seconds both engine and motor operate to displace the vehicle and then the speed of engine and generator reduces gradually.
- In the third graph (Torque), the torque of both motor and engine is more with more acceleration and reduces with deceleration. But the nature of torque plot of generator is negative which indicates the generator is activated and the battery is getting charged.
- In the fourth graph (Battery current), the current utilized is more till the engine is turned on, once the engine turns on the vehicle runs on both engine and electric motor power.
- In the fifth graph (SOC), we can see that the SOC of the battery reduces gradually when the vehicle runs on electric motor and from 37 to 50 sec of time interval, we can see that the SOC reduces slowly because the generator charges the battery.
- In sixth graph (Fuel economy), which indicates the economy of fuel high when the vehicle runs on electric motor.
At last, by comparing both it can be concluded that the HEV with grade and wind velocity requires more speed, torque and battery current to overcome the given environment condition.
4
a.EV
Simulink model:

Drive cycle source:
The drive cycle source for this model is set to FTP75 and simulation time for this drive cycle is 2474 seconds. The below snap shows the parameters that are defined for the drive cycle and also the type of drive cycle opted.

Environment sub system:

This is the subsystem where, the environmental conditions can be changed as per user requirement.
This allows us to get the results which will be similar to an actual vehicle.
Output:

- The first graph shows the FTP75 standard drive cycle which is provided as source for the model.
- In the second graph (Speed), it can be observed that the plot of speed of the motor resembles the drive cycle which indicates that motor speed is varying according to the drive cycle.
- In the third graph (Torque), the torque of the motor is high during the acceleration and low during the deceleration.
- In the fourth graph (SOC), we can see that the SOC of the battery reduces gradually when the vehicle is accelerated and gets charged during the deceleration. For this model, SOC is reduced from 80% to 71.61%.
- In the fifth graph (Battery current), the current utilized by the motors will be more during the acceleration.
- In sixth graph (Fuel economy), it can be observed that the fuel economy is more as entire model is running only on electric motor.
b.HEV
All the parameters are kept same as in EV model.
Simulink model:

Output:

- The first graph shows the FTP75 standard drive cycle and the actual drive cycle, which are quite similar in nature.
- In the second graph (Speed), it can be observed that the plot of speed of the motor resembles the drive cycle which indicates that motor speed is varying according to the drive cycle. Simultaneously, the engine is turned ON (when SOC of battery tends to decrease beyond 70% and this engine in turn runs the generator and battery is charged.
- In the third graph (Torque), the torque of the motor and engine is high during the acceleration and decreases with deceleration.
- In the fourth graph (Battery current), the current utilized by the motors will be more when the motor is at high speed i.e., during the acceleration.
- In the fifth graph (SOC), we can see that the SOC of the battery reduces gradually when the vehicle is accelerated and gets charged during the deceleration due to the regenerative braking. For this model, SOC varies between 80% to 70%. So, if the battery SOC tends to decrease below 70% then the Engine is turned ON and due to the generator, the battery will be charged.
- In sixth graph (Fuel economy), it can be observed that the fuel economy is more when the vehicle runs on motor and fuel economy decreases when it runs on fuel.
Results of HEV and Ev compared:
- EV runs on motor alone so the battery drains quickly but in case of HEV the model run on both motor and engine due to which the distance covered will be more and more power can be obtained.
- In EV model SOC of battery cannoty be utilized within a particular limit but it is possible in HEV, we can set upper limit and lower limit, if the SOC is below the lower limit the the motor stops and engine is turned on and the battery gets charged.
- If the SOC of ballety is equal to upper limt then the engine turns off and the model rums on motor until the SOC decreases below the lower limit.
Conclusion:
- Discussion on mapped and dynamic model is done.
- Discussed how simulink model calculate miles per gallon & factors that are considered to model fuel flow.
- HEV ReferenceApplication is run with WOT drive cycle & the obtained result is compared with the same model by changing the grade and wind velocity in the environment block.
- Comparison of HEV ReferenceApplication & EV ReferenceApplication output is done.