4.83333

4.8 | 7 ratings Rate this file 223 Downloads (last 30 days) File Size: 5.97 MB File ID: #28441
image thumbnail

Hybrid-Electric Vehicle Model in Simulink

by Steve Miller

 

10 Aug 2010 (Updated 29 Jul 2011)

Model of a hybrid-electric vehicle with system-level and detailed variants of electrical system.

| Watch this File

File Information
Description

This file contains a hybrid-electric vehicle model built using Simscape, SimElectronics, SimDriveline, and SimPowerSystems that can be configured for system-level tests or power quality analyses. Model variants for the electrical, battery, and vehicle dynamics systems can be selected using configurable subsystems. A battery model created with the Simscape language is incorporated into the model. Supervisory logic is implemented with Stateflow. This model can be configured for hardware-in-the-loop testing.

Please read the README.txt file to get started.

To see the different variants included in this model, please watch the webinar, “Hybrid Electric Vehicle Modeling and Simulation“ http://www.mathworks.com/company/events/webinars/wbnr50682.html

To find other physical modeling examples, search for posts with the keyword "physical modeling"
http://www.mathworks.com/matlabcentral/fileexchange/?term=%22physical+modeling%22

To learn more about MathWorks Physical Modeling Products, go to: http://www.mathworks.com/physical-modeling/

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Real-Time Simulation of a Hybrid-Electric Vehicle

Required Products SimDriveline
SimElectronics
SimPowerSystems
Simscape
Stateflow
Simulink
MATLAB release MATLAB 7.11 (2010b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (20)
20 Aug 2010 curryxt ??

Sorry, when running, three models -elec_lib.mdl, fl_lib.mdl and 'nesl_utility.mdl cannot be founded ,also some blocks cannot get right parameter values.

21 Aug 2010 Steve Miller

curryxt -- are you running release 2010a? Do you have all required products? The missing files you mention are part of the Simscape and SimElectronics installation.

24 Aug 2010 curryxt ??

Thanks a lot. The above trouble has been removed. While, if I want to use this model to simulate a pure EV system, how should I configure the model?

06 Sep 2010 curryxt ??

Dear Steve, if I want to use this model to simulate a pure EV system, how should I configure the model? I will highly apprecialte your help.

14 Nov 2010 BearCat

It cannot find gaugeslibv2.mdl when I start the simulation!

Does the simulation by any chance also consider fuel consumption depending on road topography?

These might be noob questions. But I hope you will answer anyway :-)

04 Feb 2011 Lucas Fuentes

Hi,
I am also interested in what BearCat asks. I need to be able to compare EVs to HEVs to conventional cars (internal combustion only).
Any tips on how to configure these types of vehicle?
Also, when I change the battery type from Ni-Hydride to anything but Li-Ion the simulation fails. I would be interested in comparing the different battery chemistries.
Thanks

29 Jun 2011 Basil Aljorani

can i run this model with 2010a.

29 Jul 2011 Steve Miller

Basil -- try the R2010b version that is included in the submission. It may work with R2010a with some warnings.

BearCat -- you can delete the gauges blocks. Road height can be added, but the model currently assumes flat roads.

Lucas -- I haven't parameterized the other battery types. I suggest pulling the battery model directly from the Simulink browser and entering the values there.

13 Aug 2011 lee

Dear Steve,when I use this model to simulate a pure EV system in matlab 2010b,it suggests that :Unable to load block diagram 'sdl_lib'.Can you tell me the reasons please?

13 Aug 2011 lee

Dear Steve,when I use this model to simulate a HEV system in matlab 2010b,it suggests that :Unable to load block diagram 'sdl_lib'.Can you tell me the reasons please?

02 Nov 2011 Wencong  
09 Dec 2011 Max

Good time. Can you send me the model code in C language?

28 Dec 2011 Andres RM

Hello Steve, I must conglaturate you because of the model. I'd like to ask you, where did you find documentation to create vectorial controller?

Thanks.

06 Jan 2012 Abhishek Rai

Hi Steve,
First of all I should congratulate you for your wonderful work.
While I was browsing through the "vehicle dnamics full" subsystem I found that you have not included the aerodynamic drag that you included in "Vehicle Dynamic Simple" subsystem.
I am curious to know tha answer.
Anticipating a soon reply.

09 Jan 2012 Steve Miller

Thanks for your comments, Abhishek.

The Vehicle Dynamics Full subsystem has aerodynamic drag included in it. The "Vehicle Body" block includes aerodynamic drag. The parameters for Drag Coefficient and Frontal Area are included in that calculation. See the documentation for that block: http://www.mathworks.com/help/toolbox/physmod/sdl/ref/vehiclebody.html. --Steve

28 Mar 2012 KARTHIKEYAN

steve i am using R2009b.can i run this file in that??? i'm facing lots of error in that.. please make me clear.

30 Apr 2012 sajad anbaran

Hello Steve,
i'm trying to run your system in parallel mode with different stateflow method.since i can't make change in electric subsystem, i put zero for generator required torque. by doing so i disabled Gen.however, when i want to run the simulation, vehicle is always in electric alone mode and doesn't switch to other modes.in other word, motor is the only working power source and engine speed becomes negative. but when i return Gen to the system, everything works nice. another issue is that do i need to change sun ring arrangement of the planetary gear to be operated in parallel HEV. please help me in these issues.

02 May 2012 sajad anbaran

would you please tell me that how i can obtain C code, if i succeed to run simulation.
regards.

05 May 2012 Deepak AGARWAL  
27 May 2012 indra setiawan

Dear Steve, i'm using R2011b.
And i found many errors. How i can open the model?
Thanks

Please login to add a comment or rating.
Updates
13 Dec 2010

Fix typo in description.

15 Mar 2011

Update to fix simulation issue in R2010b.
Update for R2011a coming soon...

22 Mar 2011

Updated release (R2010b) and required products (Simulink)

15 Apr 2011

Updated for R2011a.
1. Uses new Simscape-based SimDriveline library (includes gear loss models).
2. Added calculation of fuel economy using Curve Fitting Toolbox.
Zip file includes both R2010b and R2011a versions.

21 Apr 2011

Updated for R2011a release. Uses new Simscape-based SimDriveline library, and includes fuel economy calculation via imported data fitted to a surface using Curve Fitting Toolbox. R2010b version using original SimDriveline library still included.

29 Jul 2011

Updated HEV_Model_PCT.mdl, removing link to old content.

Tag Activity for this File
Tag Applied By Date/Time
hev Steve Miller 13 Aug 2010 10:08:39
hybrid electric vehicle Steve Miller 13 Aug 2010 10:08:39
physical modeling Steve Miller 13 Aug 2010 10:08:39
simscape Steve Miller 13 Aug 2010 10:08:39
simelectronics Steve Miller 13 Aug 2010 10:08:39
simdriveline Steve Miller 13 Aug 2010 10:08:39
simscape language Steve Miller 13 Aug 2010 10:08:39
simdriveline Muhammad Mehedi Al Emran hasan 15 Aug 2010 00:38:18
simelectronics Venche 09 Sep 2010 12:16:48
hev Kingsly Jebakumar S 17 Mar 2011 02:35:54
power quality Ezio Silva 02 Jul 2011 17:07:30
hev adnan 28 Oct 2011 01:39:32
hybrid electric vehicle Vivek 13 Jan 2012 13:28:17

Contact us at files@mathworks.com