Generate Mapped CI Engine from a Spreadsheet
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.Note
To specify the lookup table type, in the Mapped CI Engine block, set the Input command parameter to
Fuel mass
orTorque
.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 the dynamometer engine mapping completes, use the Simulation Data Inspector to verify the results.
See Also
Mapped CI Engine | CI Core Engine | CI Controller
Related Topics
- Calibrate, Validate, and Optimize CI Engine with Dynamometer Test Harness
- What Is CAGE? (Model-Based Calibration Toolbox)
- Mapped CI Lookup Tables as Functions of Fuel Mass and Engine Speed (Model-Based Calibration Toolbox)
- Mapped CI Lookup Tables as Functions of Engine Torque and Speed (Model-Based Calibration Toolbox)