Battery Builder Error When Creating a Library

7 visualizaciones (últimos 30 días)
Patrick
Patrick el 5 de Feb. de 2025
Comentada: Patrick el 13 de Feb. de 2025
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 comentarios
Lucas Lebert
Lucas Lebert el 11 de Feb. de 2025
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 el 11 de Feb. de 2025
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.

Iniciar sesión para comentar.

Respuestas (1)

Lucas Lebert
Lucas Lebert el 13 de Feb. de 2025
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

Categorías

Más información sobre Battery Pack Modeling en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by