How to scale 1 hour in some seconds for battery simulation?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello everyone,
I need to use a 3.91e-7s time step in my simulink model, but with this short time step, it is practically impossible to simulate some hours and observe battery charge and discharge processes. So I would like to know how can I scale 1 hour in 1s of simulation or another thing to solve this problem.
Thanks.
4 Kommentare
John D'Errico
am 14 Nov. 2016
The point is, if you need a short time step, then you need a short time step. There is no magic. You are not the last person or the first one to want things to run fast, or to have a problem that they want to run faster than it can. Computers are not infinitely fast, and it is easy to throw a problem at them that will run a long time.
Antworten (1)
Grégory SEABRA
am 14 Nov. 2016
Hi,
you might want to change your battery's equivalent capacity with the same time factor (not the ESR though). By doing so, you'll change your charge/discharge dynamics.
I don't know how your battery is modeled, but you might want to do something like this.
Do you want to simulate the charge and discharge in order to evaluate the efficiency or some THDs? If so, you can also determine some bias points (SOCs, etc...) around wich you will perform a simulation, put all this in a script and let it run successively all the simulations. You would then have only to analyze the results.
But as I asked, it's all about knowing what you want to observe.
Regards,
Greg
0 Kommentare
Communitys
Weitere Antworten in Power Electronics Control
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!