Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
Sandhya K
Sandhya K le 9 Nov 2016
i have to charge the battery for 4 hours, is it possible to run the simulation in matlab for such a long hour
  1 commentaire
Frederico Marc
Frederico Marc le 14 Nov 2016
Modifié(e) : Frederico Marc le 14 Nov 2016
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.

Connectez-vous pour commenter.

Réponses (1)

Grégory SEABRA
Grégory SEABRA le 14 Nov 2016
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

Communautés

Plus de réponses dans  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by