Main Content

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.

  1. If it is not opened, open the reference application.

  2. Click Generate Mapped Engine from Spreadsheet.

  3. 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 or Torque.

    Firing data contains data collected at different engine torques and speeds.

    Firing DataDescriptionData Requirements for Generating Mapped Engine Tables
    Function of Fuel Mass and Engine SpeedFunction of Torque and Engine Speed
    FuelMassCmd

    Injected fuel mass, in mg per injection

    Required

    Not used

    Torque

    Engine torque command, in N·m

    RequiredRequired
    EngSpd

    Engine speed, in rpm

    RequiredRequired
    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 DataDescriptionData Requirements for Generating Mapped Engine Tables
    Function of Fuel Mass and Engine SpeedFunction 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

  4. 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:

  5. When the dynamometer engine mapping completes, use the Simulation Data Inspector to verify the results.

See Also

| |

Related Topics