Why do not the Select part table display in the Block Parameterization Manager: Battery?

I want to select the Panasonic NCA593446 battery for Battery (Table-Based) block in my model and the Select part table don't display anything in the Block Parameterization Manager: Battery. Please tell me how to fix this problem.

1 Comment

I met the same question, the block parameterization mangager battery is blank, but i can find the NCA593446.xml in the local document.

Sign in to comment.

Answers (1)

Hi @ Khoi Nguyen,

Addressing your issue regarding, “Please tell me how to fix this problem.”

I did some research and was able to dig out documentation. Please click the following link,the Panasonic NCA593446 battery is listed under “List of Pre-Parameterized Components”, follow the instructions in the documentation.

https://www.mathworks.com/help/sps/ug/pre-parameterized-components.html#mw_797594ad-f676-495a-9d3c-5ee1ef5a1361

If the issue still persists, you can create a custom battery data file by defining the battery characteristics (capacity, voltage, etc.) in a MATLAB structure. Saving this structure in a .mat file and loading this file in the Battery (Table-Based) block.Here is an example of how to define a custom battery structure in MATLAB:

% Define battery characteristics

batteryData = struct();

batteryData.Name = 'Panasonic NCA593446';

batteryData.Capacity = 3.4; % in Ah

batteryData.Voltage = 3.7; % in V

batteryData.InternalResistance = 0.05; % in Ohms

% Save the battery data to a .mat file

save('Panasonic_NCA593446.mat', 'batteryData');

After making changes, restart MATLAB to ensure that all configurations are properly loaded. Hope this helps.

Categories

Find more on Simscape Battery in Help Center and File Exchange

Asked:

on 11 Aug 2024

Commented:

on 21 Oct 2024

Community Treasure Hunt

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

Start Hunting!