Error in battery charge and discharge Simulink model

6 次查看(过去 30 天)
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