フィルターのクリア

how to run the matlab simulink to charge the battery for long hour

4 ビュー (過去 30 日間)
Sandhya K
Sandhya K 2016 年 11 月 9 日
回答済み: Grégory SEABRA 2016 年 11 月 14 日
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
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
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

コミュニティ

カテゴリ

Help Center および File ExchangeSources についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by