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

1 次查看(过去 30 天)
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.

回答(1 个)

Joel Van Sickel
Joel Van Sickel 2024-3-27
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

类别

Help CenterFile Exchange 中查找有关 Propulsion and Power Systems 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by