If you have Model-Based Calibration Toolbox™ and Stateflow®, you can use the engine dynamometer reference application to generate lookup tables for the Mapped CI Engine block. The reference application uses engine data to calibrate the engine and generate the tables.
If it is not opened, open the reference application.
Click Generate Mapped Engine from Spreadsheet.
Use the Spreadsheet file field to provide a data
file. By default, the reference application has
CiEngineData.xlsx
containing required and optional
data. The tables summarize the data file requirements for generating
calibrated tables that are functions of either injected fuel mass or engine
torque and engine speed.
To specify the lookup table type, in the Mapped CI
Engine block, set the Input command
parameter to Fuel mass
or
Torque
.
Firing data contains data collected at different engine torques and speeds.
Firing Data | Description | Data Requirements for Generating Mapped Engine Tables | |
---|---|---|---|
Function of Fuel Mass and Engine Speed | Function of Torque and Engine Speed | ||
FuelMassCmd | Injected fuel mass, in mg per injection | Required | Not used |
Torque | Engine torque command, in N·m | Required | Required |
EngSpd | Engine speed, in rpm | Required | Required |
AirMassFlwRate | Air mass flow, in kg/s | Optional | Optional |
FuelMassFlwRate | Fuel mass flow, in kg/s | Optional | Optional |
ExhTemp | Exhaust temperature, in K | Optional | Optional |
BSFC | Engine brake-specific fuel consumption (BSFC), in g/kWh | Optional | Optional |
HCMassFlwRate | Hydrocarbon emission mass flow, in kg/s | Optional | Optional |
COMassFlwRate | Carbon monoxide emission mass flow, in kg/s | Optional | Optional |
NOxMassFlwRate | Nitric oxide and nitrogen dioxide emissions mass flow, in kg/s | Optional | Optional |
CO2MassFlwRate | Carbon dioxide emission mass flow, in kg/s | Optional | Optional |
PMMassFlwRate | Particulate matter emission mass flow, in kg/s | Optional | Optional |
Nonfiring data contains data collected at different engine speeds without fuel consumption.
Nonfiring Data | Description | Data Requirements for Generating Mapped Engine Tables | |
---|---|---|---|
Function of Fuel Mass and Engine Speed | Function of Torque and Engine Speed | ||
FuelMassCmd | Injected fuel mass, in mg per injection | Not used | Not used |
Torque | Engine torque command, in N·m | Required | Required |
EngSpd | Engine speed, in rpm | Required | Required |
AirMassFlwRate | Air mass flow, in kg/s | Optional | Optional |
Click Generate mapped engine calibration to generate response surface models in the Model-Based Calibration Toolbox and calibration in CAGE (CAlibration GEneration). CAGE and the model browser open when the process completes. To calibrate the data, Model-Based Calibration Toolbox uses templates.
The Model Browser provides the response model fits for the data contained in the data file, for example:
The CAGE Browser provides the calibrated data, for example:
When you click Apply calibration to mapped engine model, Powertrain Blockset™:
Updates the Mapped CI Engine block parameters with the calibrated table and breakpoint data.
Updates the CI Controller with the fuel mass per injection table if the Mapped CI Engine block tables are functions of fuel mass and engine speed.
Sets the Mapped CI Engine as the active variant.
Executes the engine mapping experiment.
When the dynamometer engine mapping completes, use the Simulation Data Inspector to verify the results.
CI Controller | CI Core Engine | Mapped CI Engine