battery simulation by hour
Show older comments
i use model of battery from matlab library and make simulation ,, time of simulation by sec I need to do that by hour I mean if charging need 3600 sec , I want it to do by 1 hour
and want scope to plot the curve with xlabel of time=1 hour
Answers (1)
Sabin
on 4 Jan 2023
0 votes
Stop time can be set to 3600 seconds or any other number. The important aspect is the level of fidelity for the model, if too much detail is included might be painful to run the simulation for such a long period of time. In MATLAB plot if you use hours in the time vectors will show hours, e.g., plot(t,SOC) where let’s say t=[0, 0.5, 1] and SOC=[1, 0.5, 0].
Communities
More Answers in the Power Electronics Control
Categories
Find more on Battery Pack Modeling 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!