How can I resolve: model continues in compilation mode indefinitely with no error.
Show older comments
Hello,
Using MATLAB (R2024a), I have built a battery pack library (1 Pack having 20 Module Assemblies, each module assembly having 5 modules, each module assembly having 20 parallel assemblies, with each parallel assembly having 120 cells). Then, I am trying to simulate (using Simulink and simscape components), a system where this battery pack is connected to a resistance as load and monitoring current flowing out of the battery pack and temparature of the pack.
When I run this integrated model (this battery pack library with the battery thermal monitoring, current monitoring and boost DC-DC Converter with resistive load), the model remains in the compilation mode for many hours. The status in the status bar at the righthand side below the diagnostic window shows: "Compiling: Evaluating Block Parameters: Completed". There is no error displayed in the diagnostic window. During this time, the MATLAB does not allow any other operation on the model and must be terminated via task manager to exit.
This issue is encoutered on a MATLAB student version downloaded on an i7 machine with 16GB RAM as well as MATLAB online.
I tried to run the same model, this time with a smaller battery pack library (1 Pack having 2 Module Assemblies, each module assembly having 2 modules, each module having 1 parallel assembly of 2 cells) instead of the larger battery pack. WIth a smaller battery pack, the model compiles and runs without any error or any issue.
I wish to design the model with the larger battery pack mentioned earlier.
Kindly suggest a possible solution for my issue.
Thanks, and Regards,
Sameer Phatak

Accepted Answer
More Answers (0)
Categories
Find more on Battery Pack Modeling 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!