
Open my battery pack in simulink
조회 수: 8 (최근 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!