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
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 .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.