Problem with table-based battery, Simscape, simulink

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 件のコメント

Steven Foland
Steven Foland 2020 年 12 月 30 日
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
Julian Freytes 2021 年 8 月 17 日
Any luck with this issue?

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

回答 (1 件)

hamed AlBrashdi
hamed AlBrashdi 2021 年 1 月 4 日

0 投票

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)

カテゴリ

質問済み:

2020 年 11 月 24 日

コメント済み:

2021 年 8 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by