Battery ECM in simscape does not allow pole reversal
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to simulate deep discharge of battery. Deep discharge is needed before recycling. My simulation does not work because Battery ECM does not allow negative voltage. How can I solve the following errror?
Error:Error compiling Simscape network for model battery_model.
Caused by:
['battery_model/Battery Equivalent Circuit']: Elements of Open-circuit voltage, OCV(SOC,T) must be greater than or equal to zero.
0 commentaires
Réponses (1)
Vanita
le 18 Août 2025
Hi Victor,
The error you’re encountering, “OCV(SOC,T) must be ≥ 0,” occurs when your lookup table contains negative values or when SOC inputs extrapolate outside valid ranges.
To prevent this, maintain the State of Charge (SOC) within the valid range of 0 to1 by implementing saturation or cutoff logic, which terminates discharge as SOC approaches zero and avoids negative voltages or,
If you require to simulate deep discharge with negative OCV values, you will need to create a custom battery model in Simscape, please refer to the following MATLAB R2024b documentations:
Hope this works!
0 commentaires
Voir également
Catégories
En savoir plus sur Simscape Battery dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!