File Exchange

image thumbnail

Battery Electric Vehicle with Motor Cooling in Simscape

version 21.1.1.1 (395 KB) by Steve Miller
Battery electric vehicle with liquid-cooled motor.

67 Downloads

Updated 17 Apr 2021

From GitHub

View Version History

View license on GitHub

This example models a battery electric vehicle with a cooling system for the motor. It is used to size mechanical, electrical, and fluid components in the vehicle. The vehicle executes a passing maneuver and the speed, torque, and temperature measurements are used to assess if the system requirements are met.

The motor cooling system can be optionally disconnected from the system. This allows us to see the impact of the cooling system on motor temperature.

This video, "Getting Started with Simscape" explains the purpose of the model and introduces you to modeling with Simscape:
https://www.youtube.com/watch?v=fStr7rzsr3k

Use the "Download from GitHub" 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.

For R2020b: https://github.com/mathworks/Battery-Electric-Vehicle-Motor-Cooling-Simscape/archive/refs/tags/20.2.1.0.zip

Try this free, hands-on tutorial to learn how to use Simscape:
https://www.mathworks.com/learn/tutorials/simscape-onramp.html

To learn more about Simscape, visit the resources page for tutorials and examples:
https://www.mathworks.com/solutions/physical-modeling/resources.html

Cite As

Steve Miller (2021). Battery Electric Vehicle with Motor Cooling in Simscape (https://github.com/mathworks/Battery-Electric-Vehicle-Motor-Cooling-Simscape/releases/tag/21.1.1.1), GitHub. Retrieved .

Comments and Ratings (5)

Swaraj S

Thank you Steve. Can you please help me with how to replace the voltage source with the generic lithium ion battery model, as its not the from the same library as that of PMSM motor in the simulink ? . This is my email id if you want to share some files regarding the topic . Email: swarajtw@gmail.com

Steve Miller

Many datasheets can be downloaded from battery supplier websites. We sized ours based on values seen in articles about electric vehicles.

Swaraj S

where can i get the datasheet used for assigning the parameters ??

Jingshi Yang

Nandagopal Vidhu

MATLAB Release Compatibility
Created with R2021a
Compatible with R2020b to R2021a
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!