Simscape Battery model extension

조회 수: 1 (최근 30일)
yoi
yoi 2024년 10월 8일
댓글: yoi 2024년 10월 8일
I am currently using simscape's Battery (Table-Based) element.
I want to make R0(SOC,T) parameter as R0(SOC,T,C-rate) so that R0 also depends on C-rate.
Could you please let me know if there is a way to extend this with this block?

답변 (1개)

Govind KM
Govind KM 2024년 10월 8일
편집: Govind KM 2024년 10월 8일
Hi yoi,
From what I understand, you wish to set the Terminal Resistance (R0) parameter of the Simscape Battery (Table-Based) block such that it depends on C-rate along with State-of-charge values (SOC) and Temperature (T). Although this cannot be achieved directly, a workaround is to
  • Define the C-rate parameter as a variable in the model callbacks or in the base workspace.
  • The R0 parameter can then be set as a mathematical expression involving the (SOC,T) lookup table and the C-rate variable, programatically or in the block parameters.
  • For example, assuming a direct multiplicative relationship, the R0 parameter can be set programatically through set_param as
%Change myModel to the name of your model
set_param('myModel/Battery (Table-Based)','R0_mat','R_lookup*cRate'); %Assuming cRate is a constant
More details on setting parameter values as variables or expressions can be found in the following documentation:
Hope this is helpful!
  댓글 수: 1
yoi
yoi 2024년 10월 8일
Hi Govind
Thank you for your answer.
I believe SoC, T and C-Rate are changing values from time to time during the simulation. If these physical parameters could be obtained using sensor circuits, etc., how should they be reflected as dynamic in the element parameters(R0 parameter in Battery (Table-Based))?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by