Long simulation time by combining BEV and PV modelling in SIMULINK
Show older comments
Hi, I am doing a physical modelling simulation using Simscape of Battery Electric Vehicle equipped with Photovoltaic as additional power source. The model of BEV and PV itself were a success when it is being simulated seperately. The problem is when i combine PV model with my BEV model, the simulation takes a longer time to simulate and it would usually take hours to finish simulating, even though i simulate it for 10 seconds. For the PV Module i use boost DC Converter connect with battery. In order to simulate i need to use discrete powergui and a sample time of 1 micro.
I wish to know how can i reduce the simulation time and make MATLAB SIMULINK simulate it faster. It would be a great help if suggestions on how to solve this problem are presented. Thank you in advance!
2 Comments
Joel Van Sickel
on 2 Sep 2022
Do both of your models run fast seperately and only slow down when combined, or does the PV run slow no matter what? Are you able to share the models or can you share the solver settings used for both of them?
HAMIZAH SYAZWANI JOHARI
on 6 Sep 2022
Accepted Answer
More Answers (1)
Dennis Kachila
on 21 Sep 2025
0 votes
Hello I had a similar problem, I researched and found out the only way that worked for is to ruduce the battery capacity ratings ( A*hr) by dividing by 3600.
Please see the full solution here
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!