View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Dual Clutch Transmission Model in Simulink

5.0 | 7 ratings Rate this file 64 Downloads (last 30 days) File Size: 16.3 MB File ID: #32246 Version: 2.1
image thumbnail

Dual Clutch Transmission Model in Simulink


Steve Miller (view profile)


18 Jul 2011 (Updated )

Model of a dual-clutch transmission with MATLAB scripts for optimizing the shift schedule.

| Watch this File

File Information

This file contains a dual-clutch transmission model built using Simscape and Simscape Driveline that can be configured for control algorithm development or optimization tests. The clutch states and pre-selection of the gears via dog clutches is controlled by a state machine modeled in Stateflow. Model variants for the transmission and vehicle dynamics can be selected using configurable subsystems. MATLAB scripts demonstrate how to optimize a shift schedule for maximum fuel economy, and how to speed that process using parallel computing. This model can be configured for hardware-in-the-loop testing.
Please read the README.txt file to get started.

To see the optimization tasks, watch this video (5 min):

To see the complete demonstration of model tuning, parameter sweeps, and optimization tasks, please watch the webinar, “Shift Schedule Optimization of a Dual-Clutch Transmission“.

To find other Simscape examples, search for posts with the keyword "physical modeling"

To learn more about MathWorks Simscape Products, go to:

Required Products Simscape Driveline
MATLAB release MATLAB 9.1 (R2016b)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
20 Sep 2016 xiang ge

It is perfect!

12 Sep 2015 Shiwei Xu

This demo is so good!!!

14 Jul 2015 Mohamed Awadallah

09 Dec 2013 Steve Miller

Steve Miller (view profile)

Hi Chris -- do you have a license for the MathWorks product Model-Based Calibration Toolbox? That product is required for the data-driven model we have used. If you ">>which xregmaskinitialization -all" and get "xregmaskinitialization not found" then you don't have it. You could probably get a trial license of it from your sales rep.


Comment only
04 Dec 2013 Chris

Chris (view profile)

This is a great model but whenever I change the Block choice of the Engine to 'Data Driven' I get the following error.

"Error in 'Dual_Clutch_Trans/Engine/Data Driven/MBC Engine Model From Dynamometer Data/MBC Brake Torque/xregtwostage/Local Model': Initialization commands cannot be evaluated.

Caused by:
Undefined function or variable 'xregmaskinitialization'."

Its a pity as I am building a diesel engine model and this would have been a great model to learn from.

Comment only
25 May 2012 olivier

Sorry, I've realized that we don't have xPCtarget ...

23 May 2012 olivier

I've tried to run the simulation, but I get the following error:

Making simulation target "Dual_Clutch_Trans_sfun", ...

'Dual_Clutch_Trans_sfun.bat' is not recognized as an internal or external command,
operable program or batch file.

I'm running Matlab 64bits on Windows 7 with all the necessary toolboxes and compilers.

29 Sep 2011 Venche

Venche (view profile)

12 Sep 2011 Shusen

Shusen (view profile)

20 Jul 2011 1.1

Added link to video.

02 Jan 2012 1.2

Added 3D animation. The gearbox VRML model is based on Bachelor Thesis of Mr. Jaroslav Prochazka, Department of Computer Graphics and Interaction, Czech Technical University in Prague, Czech Republic.

22 Feb 2013 1.5

Corrected release (zip file contains R2011b version)

18 Mar 2013 1.6

Zip contains R2013a version, as well as R2012b and R2011b versions.

19 Mar 2013 1.8

Updated MATLAB Release information to R2013a

15 Jul 2013 1.9

Updated link to optimization tasks video in "Description". No change to submission files.

17 Apr 2014 1.10

Fixed webinar link.

07 Mar 2016 2.0

Updated for R2016a. Added hyperlinks to model canvas to change subsystem variants.

08 Mar 2016 2.0

Fixed webinar link only.

18 Apr 2016 2.0

Fixed broken hyperlink in submission description.

01 Sep 2016

Updated license

15 Sep 2016 2.1

Added R2016b version.

Contact us