How can I draw current pulses from a battery in Simulink Electrical to discharge the Li-ion battery?
5 views (last 30 days)
Show older comments
Nishen Menerapitiyage Don
on 9 Feb 2022
Commented: Nishen Menerapitiyage Don
on 16 Feb 2022
So I have battery model and I want a block that will draw a current at regular time intervals from that battery.
thanks.
2 Comments
Srija Kethiri
on 14 Feb 2022
Edited: Srija Kethiri
on 14 Feb 2022
Hi Nishen,
Can you please tell your battery model so, that I can assist you better.
Accepted Answer
Srija Kethiri
on 16 Feb 2022
Hi Nishen,
You are using the current source block, which can only generate DC and AC waveforms, but not pulse waveforms. So instead of using current source block, you can use the controlled current source block and a pulse generator block and connect these two using a Simulink-PS converter.
These links can be helpful:
Controlled Current Source - Ideal current source driven by input signal - MATLAB (mathworks.com)
Pulse Generator block - Generate square wave pulses at regular intervals - Simulink (mathworks.com)
The attached Simulink model might be helpful:
More Answers (0)
See Also
Categories
Find more on Energy Storage in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!