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

2 ビュー (過去 30 日間)
Rory Darling
Rory Darling 2024 年 3 月 15 日
回答済み: Joel Van Sickel 2024 年 3 月 27 日
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 Center および File ExchangePropulsion and Power Systems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by