Approximating Event-Based Subsystems Using Curve Fitting
(Lump-Average Model)
This example shows how to use curve fitting to approximate event-based dynamics of an
engine.
The scdspeed model linearizes to zero because scdspeed/Throttle & Manifold/
Intake Manifold is an event-triggered subsystem.
You can approximate the event-based dynamics of the scdspeed/Throttle &
Manifold/Intake Manifold subsystem by adding the Convert to mass charge block
inside the subsystem.
The Convert to mass charge block approximates the relationship between Air Charge,
Manifold Pressure, and Engine Speed as a quadratic polynomial.
Linearize Event-Based Subsystems (Externally Scheduled Subsystems)