Simple Engine
![](simple_engine.png)
Libraries:
Powertrain Blockset /
Propulsion /
Combustion Engines
Vehicle Dynamics Blockset /
Powertrain /
Propulsion
Description
The Simple Engine block implements a simplified engine model using a maximum torque vs engine speed table, two scalar fuel mass properties, and one scalar engine efficiency parameter to estimate engine torque and fuel flow. You can use the block for:
Hardware-in-the-loop (HIL) engine control design
Vehicle-level fuel economy and performance simulations
Ports
Input
TrqCmd — Commanded torque
scalar
Torque, in N·m.
EngSpd — Engine speed
scalar
Engine speed, in rpm.
Output
Info — Bus signal
bus
Bus signal containing these block calculations.
Signal | Description | Units | ||
---|---|---|---|---|
| Engine air mass flow output | kg/s | ||
| Normalized engine cylinder air mass | N/A | ||
| Air-fuel ratio (AFR) | N/A | ||
| Engine fuel flow output | kg/s | ||
| Volumetric fuel flow | m3/s | ||
| Engine exhaust gas temperature | K | ||
| Engine torque output | N·m | ||
| Engine speed | rpm | ||
| Engine crankshaft absolute angle where is crankshaft revolutions per power stroke. | deg | ||
| Engine brake-specific fuel consumption (BSFC) | g/kWh | ||
| Engine out hydrocarbon emission mass flow | kg/s | ||
| Engine out carbon monoxide emission mass flow rate | kg/s | ||
| Engine out nitric oxide and nitrogen dioxide emissions mass flow | kg/s | ||
| Engine out carbon dioxide emission mass flow | kg/s | ||
| Engine out particulate matter emission mass flow | kg/s | ||
PwrInfo | PwrTrnsfrd | PwrCrkshft | Crankshaft power | W |
PwrNotTrnsfrd | PwrFuel | Fuel input power | W | |
PwrLoss | Power loss | W | ||
PwrStored | Not used |
EngTrq — Engine brake torque
scalar
Engine brake torque, in N·m.
Parameters
Engine maximum torque, f_tqmax — Breakpoints
[75.679776480773256 75.679776480773256 97.173658538143172
116.84042599160529 152.21029882684542 175 174.99889520597083 174.99996520122858 175
175 175 175 175 175 175 175]
(default)
Breakpoints, in N·m.
Breakpoints for engine speed input, f_tqmax_n_bpt — Breakpoints
[0 750 1053.57142857143 1357.14285714286 1660.71428571429
1964.28571428571 2267.85714285714 2571.42857142857 2875 3178.57142857143
3482.14285714286 3785.71428571429 4089.28571428571 4392.85714285714 4696.42857142857
5000]
(default)
Breakpoints, in rpm.
Fuel lower heating value, Lhv — Heating value
4.6E+7
(default)
Fuel lower heating value, in J/kg.
Fuel specific gravity, Sg — Specific gravity
0.745
(default)
Specific gravity of fuel, dimensionless.
Average brake specific fuel consumption, BsfcAvg — Average brake specific fuel consumption
350
(default)
Average brake specific fuel consumption, in g/kwh.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Version History
Introduced in R2021b
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
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)