Battery Builder Error When Creating a Library

57 ビュー (過去 30 日間)
Patrick
Patrick 2025 年 2 月 5 日 20:51
コメント済み: Patrick 2025 年 2 月 13 日 15:23
I have been working on making a battery in the Battery Builder app for a thermal simulation I want to run and when I go to create a library for any level of the heirarchy above a parallel assembly it returns an error that says:
The points input must only create line connections that follow connection rules of the appropriate Physical Modeling domains.
I have tested so many of the settings and it doesn't seem to go anywhere, this results in me not getting my module assembly block nor my pack block that I want to pull into a Simulink/Simscape model. Any idea of what settings might be causing this?
  4 件のコメント
Lucas Lebert
Lucas Lebert 2025 年 2 月 11 日 8:45
Hello Patrick,
Thank you for the detailed insight.
Unfortunately, I couldn't reproduce the issue on my end. If possible, could you please export the Battery into a .mat file and share it with me?
To do this, select the battery in question in the Battery Browser, then choose "Export to mat file" from the Export dropdown menu in the toolstrip.
I appreciate your help with this.
Have a nice day,
Lucas
Jordan
Jordan 2025 年 2 月 11 日 20:10
Hello, I am having the same issue.When I attempt to create a library from my battery pack, I get the error: "The points input must only create line connections that follow connection rules of the appropriate Physical Modeling domains." I have attached the .MAT file that I am working on.

サインインしてコメントする。

回答 (1 件)

Lucas Lebert
Lucas Lebert 2025 年 2 月 13 日 8:40
Hello Patrick and Jordan,
I've pinpointed the root cause and reported it internally, so it will be addressed. The issue arises when the NonCellResistance for a Module Assembly is enabled, and either the XmaxThermalNodes/YmaxThermalNodes are set to something other than "None" or the cell balancing is configured to "external".
As a temporary workaround you can disable the non-cell resistance for the Module Assembly and add the resistors after exporting the battery.
Using Jordan's example battery:
load("testpack4","Testpack02");
Testpack02 = Testpack02.modifyModuleAssembly("NonCellResistance","off"); % Disable non-cell resistance for the Module Assembly
buildBattery(Testpack02); % Export the battery
% Open the module Assembly
open_system("Batteries")
open_system("Batteries/ModuleAssemblies/ModuleAssemblyType1");
% Note, that the resistors between the + Connection port and the first
% Module Assembly as well as the - Connection port and the last Module
% Assembly are not modeled. If needed they can be added manually to the
% Module Assembly
% If the pack block is intended to be used with the non-cell resistance on
% the Module Assembly level each of the Module Assembly blocks inside the
% Pack subsystem would need to be modified in the same way.
open_system("Batteries/Testpack02");
I am sorry for the dalay caused by this.
Have a nice day,
~Lucas
  1 件のコメント
Patrick
Patrick 2025 年 2 月 13 日 15:23
Thank you for your help!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeBattery Pack Modeling についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by