Error in battery charge and discharge Simulink model

조회 수: 6 (최근 30일)
Chandradeep
Chandradeep 2024년 9월 1일
답변: Aastha 2024년 9월 5일
Temperature adjusted first polarization resistance must be greater than zero.
I am getting this error in the simulink model ( available on - https://in.mathworks.com/help/simscape-battery/ug/battery-constant-current-constant-voltage.html) inspite of having the polarization value greater than zero, I am attaching the workspace for the reference and its 'R1_ mat' in the work space.
Other parameters in the workspace such as RO ( thermal resistance), T_vec ( Temperature in kelvin), Vo_mat ( OCV value), tau1_mat ( is the first time constant).
In the relay setting switch on and switch off point are 4.1 and 3 and cell capacity is 2.6 Ahr
Please help fixing me this error.
  댓글 수: 3
Chandradeep
Chandradeep 2024년 9월 2일
편집: Chandradeep 2024년 9월 2일
Hi Umar,
I hope this links opens, I have used a simulink model which was available on the matlab page ie. Battery charging and discharging model.
https://se.mathworks.com/help/simscape-battery/ug/battery-constant-current-constant-voltage.html
Umar
Umar 2024년 9월 2일
Hi @ Chandradeep,
The code shared by you was deleted on this form, could you share code that was causing errors and utilizing Final_Workspace.mat binary file. I tried opening the link and it worked fine. Also, provide some more details regarding error in the simulink model

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

답변 (1개)

Aastha
Aastha 2024년 9월 5일
I see that you are getting the error “Temperature adjusted first polarization resistance must be greater than zero”.
This error is related to the way the Battery (Table-Based) is configured. There is a parameter called 'Extrapolation method for all tables' which in is set to 'Linear'. If you set this parameter to 'Nearest', you will not get the above-mentioned error.
I hope this helps!

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by