主要内容

Configure Simscape Model with Mapped Engine Variants

R2026b

This example shows the steps for configuring a conventional or hybrid electric vehicle (HEV) in the Virtual Vehicle Composer app using the Simscape™ template with a mapped spark-ignition (SI) or compression-ignition (CI) engine and controller. The example also shows how to optionally resize the engine before generating the vehicle model. The mapped engine provides more options to adjust calibration settings and analyze the effects of engine size and calibration on vehicle performance.

Virtual Vehicle Composer SSC Model

Note

If you want to resize the engine, you edit a block mask callback in Step 2 and then run the resize operation from the engine dynamometer model. This step is optional.

StepLinkDescription
1Set Up Workspace and Start Virtual Vehicle ComposerInitialize the environment, launch the Virtual Vehicle Composer, and confirm the setup of a Simscape model.
2Resize EngineOptionally, open the engine dynamometer model and update the engine resize callback to resize engine.
3Create Virtual VehicleBuild the virtual vehicle.
4Enable Mapped Engine VariantEdit the engine block parameters in the Simulink® Variant Manager™.
5Enable Engine Control Unit VariantEdit the Engine Control Unit block parameters in the Simulink Variant Manager.

See Also