フィルターのクリア

Slow simulation times, when switching at high frequency

14 ビュー (過去 30 日間)
Armando
Armando 2015 年 7 月 21 日
コメント済み: Omkar Dalvi 2019 年 9 月 11 日
Halo everyone, I'm working on a high frequency converter using full bridge Mosfets configuration, with a switching frequency of 20Mhz. What I've noticed is that the higher the frequency, the slower the simulation gets.
For instance: At 20KHz, is simulates much much faster than at 20MHz.
I've attached a print screen of my solver settings.
Does anyone have any ideas why this is happening?
Thanks, Armando.
  1 件のコメント
Omkar Dalvi
Omkar Dalvi 2019 年 9 月 11 日
hie can u help me with a similar circuit. i am confused so as how to get higher frequency output for AC

サインインしてコメントする。

採用された回答

Sebastian Castro
Sebastian Castro 2015 年 7 月 21 日
編集済み: Sebastian Castro 2015 年 7 月 21 日
That makes sense! If your frequency is higher, then there are more switching events per second that fire off zero-crossings in the Simulink solver.
It depends on what you're trying to do, though. If you're trying to model a fixed number of cycles, then you can also reduce the total simulation time. For example, 10 cycles at 20 MHz requires 1/1000th of the total simulation time than at 20 kHz.
If you need to simulate for a fixed time range, e.g., 10 seconds, then there isn't much of a workaround for that. Simulation will be slower if your switches go on-and-off 1000 times faster.
EDIT: Are you using SimPowerSystems or Simscape/SimElectronics? If you're using Simscape, I'd try the ode23t or ode15s solvers instead of ode23tb. If you're using SimPowerSystems, keep it as is.
- Sebastian
  1 件のコメント
davood mansouri
davood mansouri 2017 年 12 月 18 日
Dear Sebastian Castro I have simulate inverter in SimPowerSystems. simulation speed is up, but by using a circuit breaker in the simulation it runs very slow. how can I speed up it?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpecialized Power Systems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by