The Powertrain Blockset™ provides reference application projects assembled from blocks and subsystems. Use the reference applications as a starting point to create your own powertrain models.
Objective | For | See |
---|---|---|
Design tradeoff analysis and component sizing, control parameter optimization, or hardware-in-the-loop (HIL) testing. | Full conventional vehicle with spark-ignition (SI) or combustion-ignition (CI) | |
Hybrid electric vehicle (HEV) — Multimode | Explore the Hybrid Electric Vehicle Multimode Reference Application | |
HEV — Input power-split | Explore the Hybrid Electric Vehicle Input Power-Split Reference Application | |
Full electric vehicle | Explore the Electric Vehicle Reference Application | |
Engine and controller calibration, validation, and optimization before integration with the vehicle model. | CI engine plant and controller | Explore the CI Engine Dynamometer Reference Application |
SI engine plant and controller | Explore the SI Engine Dynamometer Reference Application |
This example shows how to run the conventional vehicle reference application and examine the final drive gear ratio impact on fuel economy and tailpipe emissions.
Running this example requires a Stateflow® license. You can install a Stateflow trial license using the Add-On Explorer.
Open the conventional vehicle reference application project. By default, the application has a 1.5–L spark-ignition (SI) engine and a final drive gear ratio of 3
.
Enable data logging for the fuel economy and tailpipe emissions signals.
In the Visualization
subsystem, select the FuelEconomy
signal line and Enable Data Logging
.
In the Visualization
subsystem, enable data logging on the tailpipe emissions signals.
Save the SiCiPtReferenceApplication
model.
Parameterize the final drive gear ratio.
In the Passenger Car
subsystem, navigate to the SiDrivetrain
> Differential and Compliance
> Front Wheel Drive
subsystem. Open the Open Differential block.
In the Open Differential block mask:
Change the Carrier to driveshaft ratio, Ndiff parameter to the variable diffratio
. The Carrier to driveshaft ratio, Ndiff parameter represents the final drive gear ratio.
Use the available actions to create new data.
Use the Create New Data dialog box to create a Model Workspace parameter diffratio
equal to a value of 3
.
In the Open Differential block mask, apply the change.
In the Model Explorer, for the SiDrivetrain
model, confirm that the diffratio
parameter is set to 3
.
Save the SIDrivetrain
and SiCiPtReferenceApplication
models.
Run a baseline conventional vehicle simulation with a final drive gear ratio of 3
. Import the results to the Simulation Data Inspector.
In the SiCiPtReferenceApplication
model, run the simulation for the default run time. The simulation can take time to run. View progress in the Simulink® window.
On the Simulink Editor toolbar, click the Data
Inspector button to open the Simulation Data
Inspector.
In the Simulation Data Inspector, select Import. In the Import dialog box, accept the defaults and select Import.
In the results field for the run, right-click to rename the run
diffratio=3
.
Run a conventional vehicle simulation with a final drive gear ratio of 2.5
. Import the results to the Simulation Data Inspector.
In the Model Explorer, for the SiDrivetrain
model, set the Model Workspace diffratio
parameter to 2.5
.
Save the SIDrivetrain
model.
In the SiCiPtReferenceApplication
model, run the simulation for the default run time.
To import the results, on the toolbar, select the Simulation Data Inspector.
In the Simulation Data Inspector, select Import. In the Import dialog box, accept the defaults and select Import.
In the Simulation Data Inspector, in the results field for the run, right-click to rename the run diffratio=2.5
.
Use the Simulation Data Inspector to explore the results. To assess the impact of the final drive gear ratio on the fuel economy and tailpipe emissions, view the plots of the simulation results. For example, these simulation results indicate a better powertrain match when the final drive gear ratio is 2.5
:
Fuel economy increases when the final drive gear ratio changes from 3
to 2.5
.
Tailpipe emissions (HC, NOx, CO2) decrease when the final drive gear ratio changes from 3
to 2.5
.
Assess the impact of the final drive gear ratio on vehicle performance. Although the fuel economy and tailpipe emissions indicate a better powertrain match when the final drive gear ratio is 2.5, the ratio also impacts performance.
To assess the vehicle performance, examine 0
to 100
km/hr acceleration times for each axle setting. You can use the Drive Cycle Source block to output a constant velocity of (100/3.6
) m/s.