Optimize Vehicle Design with AI and Simscape

Workflow for generating a surrogate AI model from a multibody vehicle dynamics model.
137 Downloads
Updated 24 Dec 2025
This example shows the workflow to create a surrogate AI model using training data from a multibody model of a vehicle. The resulting AI model can be used for design space exploration and for finding the optimal design parameters.
  • Early-stage physical physical design is supported by creating a reduced order model to rapidly evaluate hardpoint locations.
  • Sensitivity analysis is supported by running many simulations in parallel and analyzing the influence of design parameters on performance metrics
  • Training data for the AI model is produced using Design of Experiments to ensure the entire design spaces is covered.
  • Machine Learning and Deep Learning are both used to create surrogate models that are automatically validated against the generated data.
  • Optimization algorithms are used to identify the set of design parameters that balance the tradeoff between multiple performance metrics.
  • A MATLAB App enables exploration of the design space using responses surfaces.
Open the project file SSVT_Susp_Opt.prj to get started.
Use the "Download" button above to get files compatible with the latest release of MATLAB.
Use the links below to get files compatible with earlier releases of MATLAB.
Vehicle Model
Simscape Multibody is used to model the vehicle. The multibody model has 94 parameters defining the front and rear suspensions which can be tuned. This includes hardpoint locations, spring stiffnesses, and damping coefficients. The parameter values can be varied without recompiling the model so that parameter sweeps can be run as efficiently as possible.
Workflow
Please visit the GitHub repository to see the steps in the workflow.
Try these free, hands-on tutorials to learn how to use Simscape:
To learn more about modeling and simulation with Simscape, please visit:
Product Capabilities:

Cite As

Steve Miller (2026). Optimize Vehicle Design with AI and Simscape (https://github.com/simscape/Optimize-Vehicle-Design-with-AI-and-Simscape/releases/tag/25.2.1.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with R2024b to R2025b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Libraries

Libraries/Event

Libraries/Event/Scene/Double_Lane_Change_ISO3888

Libraries/Event/Tools

Libraries/Event/Tools/CRG_Tools

Libraries/Event/Tools/OpenCRG_v1p1p2/matlab/lib

Libraries/Vehicle/Power

Libraries/Vehicle/Tire/MFEval/MFeval_4p0/MFeval/+mfeval

Libraries/Vehicle/Utilities

Libraries/Vehicle/Utilities/Camera

Libraries/Vehicle/Utilities/SPL_Libs/Extrusion_Scripts

Scripts_Data

Scripts_Data/Configure_Event

Scripts_Data/Data_Vehicle

Scripts_Data/Data_Vehicle/Assemble_Vehicle

Scripts_Data/Extrusions

Scripts_Data/Overview

Scripts_Data/Plots

Scripts_Data/Solver_Settings

Workflows/01_Define_Metric

Workflows/01_Define_Metric/ShowKinematics

Workflows/01_Define_Metric/html

Workflows/02_Identify_Params

Workflows/02_Identify_Params/html

Workflows/03_Generate_Data/html

Workflows/04_Train_Models

Workflows/04_Train_Models/html

Workflows/05_Optimize

Workflows/05_Optimize/html

Workflows/06_Explore

Workflows/06_Explore/html

Workflows/Utilities/calcPerfMetric

Workflows/Utilities/checkRunValid

Workflows/Utilities/defineParams

Workflows/Utilities/runTests

Libraries

Libraries/Event/Maneuver

Libraries/Event/Scene/Double_Lane_Change_ISO3888

Libraries/Vehicle/Aero

Libraries/Vehicle/AntiRollBar

Libraries/Vehicle/Body

Libraries/Vehicle/Body/CAD

Libraries/Vehicle/Body/CAD/Sedan_Hamba

Libraries/Vehicle/Body/Human

Libraries/Vehicle/Body/Sedan

Libraries/Vehicle/Brakes

Libraries/Vehicle/Brakes/Axle2

Libraries/Vehicle/Dampers/Axle1

Libraries/Vehicle/Dampers/Axle2

Libraries/Vehicle/Dampers/Damper

Libraries/Vehicle/Differential

Libraries/Vehicle/Differential/Gear1DShafts1D

Libraries/Vehicle/Differential/Gear1DShafts3D

Libraries/Vehicle/Differential/Gear1DShafts3Dfix

Libraries/Vehicle/Driveline/Axle2

Libraries/Vehicle/Driveshaft

Libraries/Vehicle/Linkage

Libraries/Vehicle/Linkage/DW_A

Libraries/Vehicle/Linkage/DW_B

Libraries/Vehicle/Linkage/Shock

Libraries/Vehicle/Power

Libraries/Vehicle/Power/Shaft2

Libraries/Vehicle/Springs/Axle1

Libraries/Vehicle/Springs/Axle2

Libraries/Vehicle/Springs/Spring

Libraries/Vehicle/Steer/Ackermann

Libraries/Vehicle/Steer/Rack

Libraries/Vehicle/Steer/Wheel

Libraries/Vehicle/Suspension

Libraries/Vehicle/Tire

Libraries/Vehicle/Tire/MFMbody/MFMbody

Libraries/Vehicle/Tire/TireBody

Libraries/Vehicle/Utilities/Camera

Libraries/Vehicle/Utilities/SPL_Libs/Libraries

Libraries/Visualization

Workflows/01_Define_Metric/ShowKinematics

Version Published Release Notes
25.2.1.1

See release notes for this release on GitHub: https://github.com/simscape/Optimize-Vehicle-Design-with-AI-and-Simscape/releases/tag/25.2.1.1

25.1.1.1

See release notes for this release on GitHub: https://github.com/simscape/Optimize-Vehicle-Design-with-AI-and-Simscape/releases/tag/25.1.1.1

24.2.1.1

See release notes for this release on GitHub: https://github.com/simscape/Optimize-Vehicle-Design-with-AI-and-Simscape/releases/tag/24.2.1.1

24.2.1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.