DC-DC Convertor block Causing error in Simulation. Is it Set up Correctly?

2 vues (au cours des 30 derniers jours)
Rory Darling
Rory Darling le 15 Mar 2024
My simulation dipicts a mechanical system which powers a generator to in turn charge a battery. I need the DC-DC convertor to step down the voltage from the 36V generator to the 24V battery. However when I add it into the system an error occurs. I think it could be to do with the solver set up.

Réponses (1)

Joel Van Sickel
Joel Van Sickel le 27 Mar 2024
A few things, don't set your minimul step size. (change it back to auto) Use the DAESSC solver. set both of your tolerance to 1e-3, 2 is far too large. Set your zero crossing algorithm to not be adaptive. Change number of consecutive minimum steps to 2. Move your electrical reference from the positive terminal of the machine to the negative (this shouldn't matter, as that dc-dc converter should be acting as if it's isolated, but just in case, it would be good to do). Also, your diode is preventing the battery from driving the motor (it's facing the wrong way)
If that doesn't help, share your model instead of screen shots, and watch this video: https://www.youtube.com/watch?v=QWTQqJ2Akmg&t=41s

Catégories

En savoir plus sur Propulsion and Power Systems dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by