Borrar filtros
Borrar filtros

Error in battery charge and discharge Simulink model

9 visualizaciones (últimos 30 días)
Chandradeep
Chandradeep el 1 de Sept. de 2024
Respondida: Aastha el 5 de Sept. de 2024
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 comentarios
Chandradeep
Chandradeep el 2 de Sept. de 2024
Editada: Chandradeep el 2 de Sept. de 2024
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 el 2 de Sept. de 2024
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

Iniciar sesión para comentar.

Respuestas (1)

Aastha
Aastha el 5 de Sept. de 2024
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!

Categorías

Más información sobre Energy Storage en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by