
Open my battery pack in simulink
6 次查看(过去 30 天)
显示 更早的评论
I built a new battery pack in the battery builder application. Now, I want to open this battery in simulink in order to do some simulations on my battery pack but I don't know how. Can anyone help? Explain for me how to open my battery pack in simulink. Because some say that there is a button 'Generate model' in the battery builder app but i don't have it.
Thanks
0 个评论
采纳的回答
Epsilon
2025-3-6
Hi Lamia,
After creating the battery objects, they need to be converted into Simscape models to be used in Simulink block diagrams.
To create a library that contains the Simscape Battery model of the Pack object you have created. Select the Pack object in the ‘Battery Browser’ panel. Then, under the ‘Battery Builder’ tab, in the ‘Library’ section of the toolstrip, select ‘Create Library’.
Please refer to the below image for the ‘Create Library’ button location:

In the new window that appears, specify the folder in which you want to save the library, the library name, and whether you want to generate scripts with all the run-time parameters and initial conditions required for simulation. Click ‘Create Library’ to generate the library model of your battery object in the specified folder. Open this model to access your battery objects as Simscape blocks.
To programmatically build a more detailed model of a battery pack and save it as a Simscape model, please refer to the following documentation: https://www.mathworks.com/help/simscape-battery/ug/build-battery-pack-from-pouch-cells.html#:~:text=%22Lumped%22.-,Build%20Simscape%20Model%20for%20the%20Battery%20Objects,-After%20you%20created
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Energy Storage 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!