Problem with table-based battery, Simscape, simulink
Show older comments
Table-based Battery, Simscape, Simulink
Problem:
The start values for the SOC, V0 and R0 is 1x4 data points. Everytime we try to make it 1x5 or higher we get the message:
"Length of Terminal resistance, R0(SOC) must be equal to length of Vector of state-of-charge values, SOC."
Even thought the vectors are the same length.
How can we get more data points into the battery?
Setup:
- Temperature dependent tables: No - do not tabulate over temperature
- Current directionality: Enabled
- Self-discharge: disabled
- Extrapolation method for all tables: Nearst
- Dynamics: None
Thank you in advance for your time
2 Comments
Steven Foland
on 30 Dec 2020
I am having this exact issue; it only appears when current directionality is enabled.
I have disabled this in my model for now, but would like to be able to enable it in the future. I greatly appreciate any updates to Benedikte's question.
Julian Freytes
on 17 Aug 2021
Any luck with this issue?
Answers (1)
hamed AlBrashdi
on 4 Jan 2021
0 votes
A = [-b/J K/J
-K/L -R/L];
B = [0
1/L];
C = [1 0];
D = 0;
motor_ss = ss(A,B,C,D)
Categories
Find more on Choose and Parameterize Blocks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!