Challenge

Week-4 Challenge WOT Condition Part-2

Questions :

  1. What is the difference between mapped and dynamic model of engine, motor and generator? How can you change model type?
  2. How does the model calculate miles per gallon? Which factors are considered to model fuel flow?
  3. Run the HEV ReferenceApplication with WOT drive cycle. Change the grade and wind velocity in the environment block. Comment on the results.
  4. Keeping all other parameters same, compare the simulated results of hybrid and pure electric powertrains.

Aim :

To Study the Powertrain Blockset and determine the results for below given conditions.

  • Differentiate between the mapped and dynamic models used in MATLAB/Simulink.
  • Study and calculate the model for miles per gallon and also state the factors considered to model fuel flow.
  • Simulate the HEV Reference Application with WOT cycle and comment on the results w.r.t to change in the grade and wind velocity in the environment block with the defaults value.
  • Simulate and compare the results of hybrid and Pure EV powertrains with WOT drive cycle.

A brief introduction to Powertrain Blockset :

Powertrain Blockset provides fully assembled reference application models of automotive powertrains, including gasoline, diesel, hybrid, and electric systems. It includes a component library for simulating engine subsystems, transmission assemblies, traction motors, battery packs, and controller models. Powertrain Blockset also includes a dynamometer model for virtual testing. MDF file support provides a standards-based interface to calibration tools for data import.

Powertrain Blockset provides a standard model architecture that can be reused throughout the development process. You can use it for design tradeoff analysis and component sizing, control parameter optimization, and hardware-in-the-loop testing. You can customize models by parameterizing components in a reference application with your own data or by replacing a subsystem with your own model.Powertrain Blockset provides two types of models Mapped and Dynamic.]

Solutions :

Question 1 :

  • What is the difference between mapped and dynamic model of engine, motor and generator? How can you change model type?
Mapped model Dynamic model
  • The mapped model refers to the block where the inputs & outputs of the block are given in steady-state lookup tables. For example, in the case of a SI engine block, the inputs of the engine like fuel intake quantity, air intake, etc. and outputs of the engine such as torque output, power output, etc. are given in the form of lookup tables.
  • Mapped model simulation is to be done when we have engine data. This type of simulation model is used for quasi steady-state simulations.
  • Dynamic model refers to one which breaks down a system or sub-system into its components. The output of these components combined is taken as the output of the system.
  • This type of model can be used when we need a more detailed model. To use this type of model, we need to have the component level data as we will need to give input to each of the componenets and take their output.
  • The mapped model is used for simulation to study the effect of a factor on the simulation in the system level.
  • For example, we can use the mapped engine model to study the effect of valve timing, quantity of fuel injected/sprayed, etc. on the engine output parameters
  • This type of model is used to analyze the impact of individual components on the overall performance.
  • Difference between Mapped and Dynamic Model of Engine :

Mapped Model of Engine :

It is used to measure the performance parameters of the vehicle by using standard lookup tables which are preferred to the system. This type of modelling is less accurate. The lookup tables value are based on the values of brake torque, commanded torque and engine speed. If any other parameter like Input engine temperature is selected then lookup table values are also a function of the temperature parameter. The data extracted from lookup tables are air mass flow, fuel flow, emission data, exhaust temperature and efficiency. This data is used to find out other parameters which are needed by the end-user.It is the default settings in the powertrain blockset.

Dynamic Model of Engine :

This type of model uses real-time data fed by the user at run time for modelling. This model is more accurate than the mapped engine model. This type of model is used when the data of subsystems of a vehicle is required. We can calculate Brake torque, fuel flow, port gas mass flow, exhaust temperature, exhaust mass flow rate and exhaust emissions.

  • Difference between Mapped and Dynamic Model of Motor :

Mapped Model of Motor :

The mapped motor works in torque control mode. This type of motor is used when the user requires a faster simulation and doesn't have the knowledge of motor parameters. The output torque and reference torque is compared and changes are made. Input torque or speed can be specified, electrical losses and maximum motor power and torque can be defined.

Dynamic Model of Motor :

It is a three-phase interior permanent magnet synchronous motor (PMSM) is used. The block uses three-phase input voltages to regulate the individual phase currents, allowing control of the motor torque or speed. This block is used when the user knows what parameters are to be used in that particular simulation. This motor is more accurate.

  • Difference between Mapped and Dynamic Model of Generator :

Mapped Model of Generator :

This block is also similar to other blocks. Most of the data required are taken from the lookup tables corresponding to the given input parameters. Its simulation time is less.

Dynamic Model of Generator :

It involves the user entering the parameters manually during the run time for their particular applications. The results take time and are more accurate.

-----------------------------------------------------------------------------------------------------

How can you change model type?

To change the model type of motor or generator from mapped model to the dynamic model follow the steps below :

  • We have to go to the Modelling page. Under the design window, click on the dropdown arrow.

Fig : The Simulink window showing the modelling command

  • then click on the Variant Manager, a new window will pop up

fig: The variant manager command window inside the vehicle sub-block

  • after selecting the GenDynamic, do the right-click and select the Set as label Mode Active case.

fig: The selection window for changing the mapped to dynamic parameters

  • The changed model to dynamic is shown below :

-----------------------------------------------------------------------------------------------------

Question 2 :

  • How does the model calculate miles per gallon? Which factors are considered to model fuel flow?

Miles per gallon (MPG) is a fuel economy rating determined by how far a car can travel on a gallon of gasoline or diesel. Although the metric version would be kilometres per litre, MPG is adopted in many metric-system countries, like USA, Canada and other European Nations.

While it is both cheaper and better for the environment to achieve a higher MPG rating, there is a curve, that the EPA calls the "MPG Illusion" that shows the cost-benefits of increasing MPG decrease with the higher rating. For example, to travel 1,000 miles, a car that gets 10 MPG will require 100 gallons of fuel. Conversely, a car that gets 15 MPG will require 67 gallons of fuel. In this case, an increase of just 5 MPG cuts fuel consumption by 33%. When a car gets 30 MPG, however, increasing its mileage to 35 MPG will only save 5 gallons of fuel over 1,000 miles.

The below figure is the block used by Simulink to calculate the MPGe to display the performance of the vehicle.

fig: Simulink block for the Performance calculation

The sub-block of the Performance Calculation is shown by the below figure.

fig : Simulink sub-block of the Performance Calculation :

The factors considered to model fuel flow:

  1. Vehicle speed
  2. Fuel volume flow
  3. Battery power

Steps to calculate the MPGe:-

  • As we know, that 1 gallon of gas is equal to 33.7 kWh of electricity.
  • So battery power is first converted into KW (W/1000) then its divides by 33.7 kWh.
  • The fuel equivalent of battery is added to the fuel flow.
  • Using vehicle speed and time the distance of travel is calculated.
  • Then distance is converted into miles by conversions.
  • Then as we have the fuel flow in m3">m3m3 and distance in miles and we can calculate the fuel efficiency.

-----------------------------------------------------------------------------------------------------

Question 3 :

  • Run the HEV ReferenceApplication with the WOT drive cycle. Change the grade and wind velocity in the environment block. Comment on the results.

HEV Reference Application Model with WOT :

Simulink Model for HEV :

WOT conditions :

Environment Conditions :

  • Grade = 5
  • Wind Velocity = 10 m/s

Results :

Below results can be seen through the scope in the Visualization block.

  • HEV with WOT with default Environment conditions.

  • HEV with WOT with Environment conditions.

Results and Explanation for the above plots :

Plot 1 : Trace velocity – Target vs Actual
  • Here,The yellow indication is the target path and the blue indication is the actual vehicle speed.
  • Here it is seen that vehicles requited around 20 sec to attend the maximum speed toward the target path by using battery power own. After that vehicle starts to decelerates.
Plot 2 : Engine, Motor & Generator Speed.
  • Since the battery is fully charged, at initial condition, only motor speed (blue indication) is used which high at starting because of resistance due to slope & wind velocity.
  • The engine speed (yellow indication) is overlapped with generator speed (orange indication) indicating both running at on the same rpm. Initial there is no need for engine & generator speed as the motor is fulfilling the requirement to achieve the maximum speed of the vehicle.
  • Therefore they are at 0 rpm. But when the battery will discharging Or when the State of Charge (SOC) becomes below 70% then only Engine will start to rotate to provide & maintain the speed of the vehicle & so far generator will also start to charge the battery at the same time. Hence their rpm are the same.
Plot 3 : Engine , Motor Torque & Generator torque
  • Since the battery is being used at the start, so torque will also maximum for the motor in this case until the vehicle acquires its maximum speed.
  • Once the vehicle reached at a constant speed, the torque requirement will reduce. Here also when there is deceleration, the torque value becomes negative indicating no need of toque. Also, it becomes constant once the battery goes into charging state cause now, here Engine torque is being used due below 70% SOC.
  • Generator torque will be negative indicating that Electric Motor is charging & in this period Engine has overcome the torque requirement of the vehicle successfully.
Plot 4 : Battery Current
  • When a vehicle uses Electric Motor then only it is used to generate power for the Motor. When the vehicle decelerates, then no current is extracted to produce power for the motor.
  • From the graph also you can see, the current requirement becomes stable while charging the mode of the battery.

Plot 5 : SOC

  • Sate of Charge (SOC) is important for battery-driven vehicles. From the graph, it can be seen that when the battery used is bellowed 70%, it goes in charging mode & hence SOC is also increased due to charging of the battery through the generator. Hence it can be used further once it gets fully charged.

Plot 6 : MPGe

  • The graph shows the miles per gallon equivalent require to run the vehicle.

---------------------------------------------------------------------------------------------------------------------

  • Question 4 :

Keeping all other parameters the same, compare the simulated results of hybrid and pure electric powertrains.

EV Reference Application Model with WOT :

Simulink Model for EV :

WOT conditions :

Environment Conditions:

  • Grade = 5
  • Wind Velocity = 10 m/s

Result :

Below results can be seen through the scope in the Visualization block.

Observation from the above Plots :

  • Pure EV can achieve less velocity than that of HEV. HEV can attend velocity above 60 mph but in pure EV velocity is less than 60 mph.
  • Motor speed in rpm is also less than that of HEV. But path tracing is the same as that of HEV.
  • But Motor torque of pure EV is almost the same as that of HEV.
  • Battery current uses is almost half in pure EV to produce power as that of HEV.
  • Also as battery use is less, battery draining is low & it can be seen from the SOC graph. From the SOC graph, it can be seen that for the same parameters battery uses is 5 times more in the case of HEV than that of pure EV, battery drains fast in the case of HEV.
  • Fuel economy is also almost double in the case of pure EV than that of HEV.

Conclusion :

  • Studied and explained the difference between the mapped and dynamic models of engine, motor and generators used in MATLAB/Simulink.
  • Explained the calculation of the model for miles per gallon and also stated the factors considered to model fuel flow.
  • Successfully simulated the HEV Reference Application model with assigned WOT cycle and commented on the results w.r.t to change in the grade and wind velocity in the environment block with the defaults value for hybrid and pure EV powertrains.
  • By looking at the characteristics curves of HEV and Pure EV, we can conclude that the conventional HEV's use lead-acid battery whereas the EV's use lithium-ion cells which have more energy density. And also, EV has a superior fuel economy than a conventional HEV.

References :

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.