how to run the matlab simulink to charge the battery for long hour
조회 수: 4 (최근 30일)
이전 댓글 표시
i have to charge the battery for 4 hours, is it possible to run the simulation in matlab for such a long hour
댓글 수: 1
Frederico Marc
2016년 11월 14일
편집: Frederico Marc
2016년 11월 14일
Hello, If you can allow time step to be 1s, for example, the answer is yes, it is possible. But if your time step must be much more shorter, I think things get complicated. It would take a very long time to complete simulation.
I've been wondering a similar question. The time step needed in my model is 3.91e-7s. Simulating many hours would be impractical. I'd like to scale 1 hour in some seconds of simulation, but for while I don't know how. I tried to change battery capacity but I got bad results.
If anyone has some ideas to overcome this, I would appreciate. Thanks.
답변 (1개)
Grégory SEABRA
2016년 11월 14일
Hi,
are you using a power conveter? If yes, you might want to use an average model for a start, so you can get rid of the switching phenomena which are not relevant in your simulation.
Indeed, when simulating such a long time, you will not be interested in this type of dynamics, as you are willing to observe long-time behavior.
Furthermore, if your simulation in centered around the battery itself, you could also use a basic DC source. The system's stability (converter + battery) is to be tackled with short-time simulations.
It is always a trade-off between speed and accuracy, and thus the question to ask yourself is "What is really relevant to include in my simulations?"
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!