Effacer les filtres
Effacer les filtres

Error in battery charge and discharge Simulink model

9 vues (au cours des 30 derniers jours)
Chandradeep
Chandradeep le 1 Sep 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 commentaires
Chandradeep
Chandradeep le 2 Sep 2024
Modifié(e) : Chandradeep le 2 Sep 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 le 2 Sep 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

Connectez-vous pour commenter.

Réponses (1)

Aastha
Aastha le 5 Sep 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!

Catégories

En savoir plus sur Energy Storage dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by