Mapped Core Engine
Steady-state core engine model using lookup tables
Libraries:
Powertrain Blockset /
Propulsion /
Combustion Engine Components /
Core Engine
Description
The Mapped Core Engine block implements a steady-state core engine model using power, air mass flow, fuel flow, exhaust temperature, efficiency, and emission performance lookup tables. You can use the block for:
Hardware-in-the-loop (HIL) engine control design.
Vehicle-level fuel economy and performance simulations.
The block enables you to specify lookup tables for these engine characteristics. The lookup tables are functions of engine load, L, and engine speed N. If you select Input engine temperature, the tables are also a function of engine temperature, T.
Power
Air
Fuel
Temperature
Efficiency
Emissions
Hydrocarbon (HC)
Carbon monoxide (CO)
Nitric oxide and nitrogen dioxide (NOx)
Carbon dioxide (CO2)
Particulate matter (PM) emissions
To bound the Mapped Core Engine block output, the block does not extrapolate the lookup table data.
Ports
Input
<TrqCmd>
— Engine load
TrqCmd
(default)
Engine load, L. Examples of engine load include:
Commanded torque
Commanded indicated mean effective pressure (IMEP) in the engine cylinder
Normalized cylinder air mass
Injected fuel mass
Dependencies
To specify an engine load port name, on the Configuration tab, enter a name in the Load input port name parameter field.
<EngSpd>
— Engine speed
EngSpd
(default)
Engine speed, N.
Dependencies
To specify an engine load port name, on the Configuration tab, enter a name in the Speed input port name parameter field.
<EngTemp>
— Engine temperature
EngTemp
(default)
Engine temperature, T.
Dependencies
To create the engine temperature input port name, select Input engine temperature parameter field.
To specify an engine load port name, on the Configuration tab, enter a name in the Temperature input port name parameter field.
Output
<EngTrq>
— Power
EngTrq
(default)
Engine power, .
Dependencies
To create this port, on the Configuration tab, select Power.
To specify the port name, on the Power tab, enter a name in the Power output port name parameter field.
<IntkAirMassFlw>
— Air mass flow
IntkAirMassFlw
(default)
Engine air mass flow, .
Dependencies
To create this port, on the Configuration tab, select Air.
To specify the port name, on the Air tab, enter a name in the Air output port name parameter field.
<FuelMassFlw>
— Fuel flow
FuelMassFlw
(default)
Engine fuel flow, .
Dependencies
To create this port, on the Configuration tab, select Fuel.
To specify the port name, on the Fuel tab, enter a name in the Fuel output port name parameter field.
<ExhManGasTemp>
— Exhaust temperature
ExhManGasTemp
(default)
Engine exhaust temperature, .
Dependencies
To create this port, on the Configuration tab, select Temperature.
To specify the port name, on the Temperature tab, enter a name in the Temperature output port name parameter field.
<Bsfc>
— Efficiency
Bsfc
(default)
Brake-specific fuel consumption (BSFC), Eff.
Dependencies
To create this port, on the Configuration tab, select Efficiency.
To specify the port name, on the Efficiency tab, enter a name in the Efficiency output port name parameter field.
<EoHC>
— Hydrocarbon emissions
EoHC
(default)
Hydrocarbon emissions, HC.
Dependencies
To create this port, on the Configuration tab, select HC.
To specify the port name, on the HC tab, enter a name in the HC output port name parameter field.
<EoCO>
— Carbon monoxide emissions
EoCO
(default)
Carbon monoxide emissions, CO.
Dependencies
To create this port, on the Configuration tab, select CO.
To specify the port name, on the CO tab, enter a name in the CO output port name parameter field.
<EoNOx>
— Nitric oxide and nitrogen dioxide emissions
EoNOx
(default)
Nitric oxide and nitrogen dioxide emissions, NOx.
Dependencies
To create this port, on the Configuration tab, select NOx.
To specify the port name, on the NOx tab, enter a name in the NOx output port name parameter field.
<EoCO2>
— Carbon dioxide emissions
EoCO2
(default)
Carbon dioxide emissions, CO2.
Dependencies
To create this port, on the Configuration tab, select CO2.
To specify the port name, on the CO2 tab, enter a name in the CO2 output port name parameter field.
<EoPm>
— Particulate matter emissions
EoPm
(default)
Particulate matter emissions, PM.
Dependencies
To create this port, on the Configuration tab, select PM.
To specify the port name, on the PM tab, enter a name in the PM output port name parameter field.
Parameters
Engine Type — Type of engine image
Compression-ignition (CI)
(default) | Spark-ignition (SI)
Type of mapped internal combustion engine image to use in the block.
Load input port name — Name
TrqCmd
(default)
Engine load input port name.
Breakpoints for load input — Breakpoints
vector
Breakpoints for engine load input.
Speed input port name — Name
EngSpd
(default)
Speed input port name.
Breakpoints for speed input — Breakpoints
vector
Breakpoints for engine speed input.
Temperature input port name — Name
EngTemp
(default)
Temperature input port name.
Dependencies
To enable this parameter, select Input engine temperature.
Breakpoints for temperature input — Breakpoints
[233.15 273.15 373.15]
(default) | vector
Breakpoints for engine temperature input.
Dependencies
To enable this parameter, select Input engine temperature.
Output Configuration — Create output ports
on
(default)
Create the output ports.
Dependencies
The table summarizes the output ports that are created for each Output parameter selection.
Output Selection | Creates Port | Creates Tab |
---|---|---|
Power |
| Power |
Air |
| Air |
Fuel |
| Fuel |
Temperature |
| Temperature |
Efficiency |
| Efficiency |
HC |
| HC |
CO |
| CO |
NOx |
| NOx |
CO2 |
| CO2 |
PM |
| PM |
Power output port name — Power
EngTrq
(default)
Power output port name.
Dependencies
To create this parameter, on the Configuration tab, select Power.
Power table — Power
array
Power table.
Dependencies
To create this parameter, on the Configuration tab, select Power.
Air output port name — Air
IntkAirMassFlw
(default)
Air mass flow output port name.
Dependencies
To create this parameter, on the Configuration tab, select Air.
Air table — Air
array
Air mass flow table.
Dependencies
To create this parameter, on the Configuration tab, select Air.
Fuel output port name — Fuel
FuelMassFlw
(default)
Fuel output port name.
Dependencies
To create this parameter, on the Configuration tab, select Fuel.
Fuel table — Fuel
array
Fuel table.
Dependencies
To create this parameter, on the Configuration tab, select Fuel.
Temperature output port name — Temperature
ExhManGasTemp
(default)
Temperature output port name.
Dependencies
To create this parameter, on the Configuration tab, select Temperature.
Temperature table — Temperature
array
Temperature table.
Dependencies
To create this parameter, on the Configuration tab, select Temperature.
Efficiency output port name — Efficiency
Bsfc
(default)
Efficiency output port name.
Dependencies
To create this parameter, on the Configuration tab, select Efficiency.
Efficiency table — Efficiency
array
Efficiency table.
Dependencies
To create this parameter, on the Configuration tab, select Efficiency.
HC output port name — Hydrocarbon
EoHC
(default)
Hydrocarbon output port name.
Dependencies
To create this parameter, on the Configuration tab, select HC.
HC table — Hydrocarbon
array
Hydrocarbon table.
Dependencies
To create this parameter, on the Configuration tab, select HC.
CO output port name — Carbon dioxide
EoCO
(default)
Carbon monoxide output port name.
Dependencies
To create this parameter, on the Configuration tab, select CO.
CO table — Carbon dioxide
array
Carbon dioxide table.
Dependencies
To create this parameter, on the Configuration tab, select CO.
NOx output port name — Nitric oxide NO and nitrogen dioxide NO2
EoNOx
(default)
NOx output port name. NOx is nitric oxide NO and nitrogen dioxide NO2.
Dependencies
To create this parameter, on the Configuration tab, select NOx.
NOx table — Nitric oxide NO and nitrogen dioxide NO2
array
NOx emissions table. NOx is nitric oxide NO and nitrogen dioxide NO2.
Dependencies
To create this parameter, on the Configuration tab, select NOx.
CO2 output port name — Carbon dioxide
EoCO2
(default)
Carbon dioxide output port name.
Dependencies
To create this parameter, on the Configuration tab, select CO2.
CO2 table — Carbon dioxide
array
Carbon dioxide table.
Dependencies
To create this parameter, on the Configuration tab, select CO2.
PM output port name — Particulate matter
EoPm
(default)
Particulate matter output port name.
Dependencies
To create this parameter, on the Configuration tab, select PM.
PM table — Particulate matter
array
Particulate matter table.
Dependencies
To create this parameter, on the Configuration tab, select PM.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Version History
Introduced in R2017a
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)