Having trouble charging battery using controlled voltage source

5 views (last 30 days)
Hello!
I've been trying to simulate a battery charging using controlled voltage source, using the battery model provided by simscape (command is 'ssc_lithium_cell_1RC'). However, I am getting negative current pulses, which have ridiculously large values. Also the simulation is terribly slow. I have attached the simulink file for reference.

Answers (1)

Sabin
Sabin on 21 Jan 2024
I would use a Controlled Current Source instead to charge the battery. See this simple Simscape Electrical example showing how to charge/discharge a battery:

Community Treasure Hunt

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

Start Hunting!