Generate Mapped SI 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 SI 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.

Step 1: Generate Mapped Engine Calibration

  1. Use the Spreadsheet file field to provide a data file. By default, the reference application has SiEngineData.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.

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

    Firing DataDescriptionData Requirements for Generating Mapped Engine Tables
    FuelMassCmd

    Injected fuel mass, in mg per injection

    Not Used

    Torque

    Engine torque command, in N·m

    Required
    EngSpd

    Engine speed, in rpm

    Required
    AirMassFlwRate

    Air mass flow, in kg/s

    Optional

    FuelMassFlwRate

    Fuel mass flow, in kg/s

    Optional

    ExhTemp

    Exhaust temperature, in K

    Optional

    BSFC

    Engine brake-specific fuel consumption (BSFC), in g/kWh

    Optional

    HCMassFlwRate

    Hydrocarbon emission mass flow, in kg/s

    Optional

    COMassFlwRate

    Carbon monoxide emission mass flow, in kg/s

    Optional

    NOxMassFlwRate

    Nitric oxide and nitrogen dioxide emissions mass flow, in kg/s

    Optional

    CO2MassFlwRate

    Carbon dioxide emission mass flow, in kg/s

    Optional

    PMMassFlwRate

    Particulate matter emission mass flow, in kg/s

    Optional

    Nonfiring data contains data collected at different engine speeds without fuel consumption.

    Nonfiring DataDescriptionData Requirements for Generating Mapped Engine Tables
    FuelMassCmd

    Injected fuel mass, in mg per injection

    Not used

    Torque

    Engine torque command, in N·m

    Required

    EngSpd

    Engine speed, in rpm

    Required

    AirMassFlwRate

    Air mass flow, in kg/s

    Optional

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

Step 2: Apply Calibration to Mapped Engine Model

When you click Apply calibration to mapped engine model, Powertrain Blockset™:

  • Updates the Mapped SI Engine block parameters with the calibrated table and breakpoint data.

  • Sets the Mapped SI 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.

See Also

|

Related Topics