Contenido principal

Mapped CI Lookup Tables as Functions of Engine Torque and Speed

The Model-Based Calibration Toolbox™ includes projects and templates that you can use to generate calibrated compression-ignition (CI) lookup tables as a function of engine torque and speed. Use the tables in the Powertrain Blockset™ Mapped CI Engine (Powertrain Blockset) block.

Use Test Plan Template to Fit Models

  1. In the Model Browser, to open the data, select Import Data. Navigate to the spreadsheet that contains the data.

    For example, open matlab\toolbox\mbc\mbctraining\CiEngineData.xlsx.

    The spreadsheet contains firing and motor data collected at different engine torques and speeds.

    Firing DataDescription
    FuelMassCmd

    Commanded fuel mass, in mg

    Torque

    Engine torque, in Nm

    EngSpd

    Engine speed, in rpm

    AirMassFlwRate

    Air mass flow, in kg/s

    BSFC

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

    CO2MassFlwRate

    Carbon dioxide emission mass flow, in kg/s

    COMassFlwRate

    Carbon monoxide emission mass flow, in kg/s

    ExhTemp

    Exhaust temperature, in K

    FuelMassFlwRate

    Fuel mass flow, in kg/s

    HCMassFlwRate

    Hydrocarbon emission mass flow, in kg/s

    NOxMassFlwRate

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

    PMMassFlwRate

    Particulate matter emission mass flow, in kg/s

    Nonfiring motor data is collected at different engine speeds, without fuel consumption.

    Nonfiring DataDescription
    Torque

    Engine torque command, in Nm

    EngSpd

    Engine speed, in rpm

    AirMassFlwRate

    Air mass flow, in kg/s

  2. In the Select Sheet dialog box, select the data that you want to calibrate. For example, select Firing Data.

  3. Optionally, use the Data Editor filter the data. After you have filtered the data, close the Data Editor.

  4. In the Model Browser, select Fit Models. In the Fit Models dialog box, in the Template pane, select the template.

    For example, to fit the firing data in the spreadsheet, select MappedEngine-Torque. Do not change the default responses and inputs.

    Fit models wizard with mapped engine torque selected

  5. Review the model fits.

    To review the response models, in the tree, select the top level.

    Response models plots

    To review the response surfaces, in the tree, select the response.

    Response models showing 3D plot of BSFC versus torque and engine speed

Open CAGE Project

To open the project, in the CAGE Case Studies pane:

  1. Select CI Mapped Engine - Torque Input.

  2. Click Open Example.

The project includes these tables.

NameDescriptionTable

f_air

Air mass flow, in kg/s

3D plot of air mass flow versus torque and engine speed

f_eff

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

3D plot of BSFC versus torque and engine speed

f_co2

Carbon dioxide emission mass flow, in kg/s

3D plot of CO2 emission mass flow versus torque and engine speed

f_co

Carbon monoxide emission mass flow, in kg/s

3D plot of carbon dioxide emission mass flow versus torque and engine speed

f_texh

Exhaust temperature, in K

3D plot of exhaust temperature versus torque and engine speed

f_fuel

Fuel mass flow, in kg/s

3D plot of fuel mass flow versus torque and engine speed

f_hc

Hydrocarbon emission mass flow, in kg/s

3D plot of hydrocarbon emission mass flow versus torque and engine speed

f_nox

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

3D plot of nitric oxide and nitrogen dioxide emissions mass flow versus torque and engine speed

f_pm

Particulate matter emission mass flow, in kg/s

3D plot of particulate matter emission mass flow versus torque and engine speed

f_brake

Engine torque command, in Nm

3D plot of engine torque command versus torque and engine speed

Use CAGE to Import and Replace Models

Use the project to import and replace existing models with new models.

  1. In CAGE, select File > Import > Model. If you do not have a model open, the model browser opens. Select a model.

  2. If your current project has two or more test plans, the Import Models dialog box prompts you to merge compatible models. Select No.

  3. The Import Models dialog box prompts you to Replace, Skip, or Create new models. Select Replace.

    Import models wizard with replace selected

After you import and replace the existing models, the Import Models wizard opens the Update Tables dialog box. You can use the Update Table dialog box to rerun optimizations and feature fills to update the tables with the new models.

Update table dialog box indicating green checks for all tables

Review and Export Lookup Tables

  1. In CAGE, review the calibrated tables.

  2. To export the tables, select File > Export > Calibration > All Items. Use the Export to parameter to specify the format. To export so that you can use the data for the Powertrain Blockset mapped engine blocks, select Simulink Model Workspace. The Model-Based Calibration Toolbox saves the mapped engine table and breakpoint data to the model workspace.

See Also

(Powertrain Blockset)

Topics