# Automotive Electrical System Simulation and Control

Version 1.12 (293 KB) by
A conventional vehicle electrical system model with alternator, battery, loads, and idle control.
Updated 11 Oct 2023

# Automotive Electrical System Simulation and Control

A conventional vehicle electrical system model with alternator, battery, loads, and idle control.

This model shows an example of a conventional vehicle electrical system model, which was shown in the webinar "Optimizing Vehicle Electrical Design through System-Level Simulation". The model is intended to study component sizing, selection, and control. http://www.mathworks.com/videos/optimizing-vehicle-electrical-design-through-system-level-simulation-81919.html

The electrical system model contains a Simscape lead-acid battery model as described in SAE Paper 2007-01-0778. There are two choices for battery size. https://www.mathworks.com/content/dam/mathworks/tag-team/Objects/s/40542_SAE-2007-01-0778-Battery-Modeling-Process.pdf

The model also contains data-driven alternator model options using either look-up tables or Model-Based Calibration Toolbox blocks. The alternator model is described in SAE Paper 2007-01-3471.

Control may be added to monitor the system condition, and increase idle speed to compensate for bad conditions in the vehicle charging system. Vehicle loads are modeled as variable resistive elements.

Simulink Design Optimization can be used to estimate battery parameters from experimental battery data. To see how, please watch this video (5 min): http://www.mathworks.com/videos/estimating-parameters-of-a-battery-68957.html

Parameter estimation for these models from measured data sets at different temperature and current data is a complex task. To learn how MathWorks Consulting can teach you this technique, please contact us or see:

MathWorks Consulting: Battery Simulation and Controls http://www.mathworks.com/services/consulting/proven-solutions/battery-simulation-and-controls.html

### Cite As

Robyn Jackey (2024). Automotive Electrical System Simulation and Control (https://github.com/mathworks/automotive-electrical-system), GitHub. Retrieved .

##### MATLAB Release Compatibility
Created with R2009b
Compatible with R2012b and later releases
##### Platform Compatibility
Windows macOS Linux
##### Acknowledgements

Inspired by: Battery Modeling

Inspired: Battery Modeling

### Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.12

Fix the name after moving repo to mathworks github

1.11

Moved to mathworks Github

1.10

Connect to GitHub, add R2019b compatibility model

1.9.0.1

1.9.0.0

Updated the description and acknowledgement

1.8.0.0

Updated description only. No file changes.

1.7.0.0

Added an updated model for R2012b and later.

1.6.0.0

Updated the description with new webinar link. Referenced alternator paper available from SAE.

1.5.0.0

Minor update to directions in Readme.txt.
Changed solver setting to "nonadaptive" to avoid warnings.

1.3.0.0

updated broken webinar link in description

1.2.0.0

Updated model settings.

1.0.0.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.