How to scale 1 hour in some seconds for battery simulation?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
John D'Errico
2016년 11월 14일
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.
답변 (1개)
Grégory SEABRA
2016년 11월 14일
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
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!