How can I increase the speed of scheme simulation?
2 ビュー (過去 30 日間)
古いコメントを表示
A circuit with one asynchronous motor is simulated quite quickly. But if I put another one in succession, then I have to wait at least three hours for five seconds of simulation. How can you speed up simulation time? Maybe it's better to replace some blocks or do I just have a weak computer? For reference, the computer has eight gigabytes of RAM.
0 件のコメント
回答 (1 件)
Sumukh
2024 年 8 月 23 日
Hi stepa,
The provided model is stiff and has both fast and slow-changing components. The “Solver” used in the “Configuration Parameters” is not able to solve the model quickly, as “ode45” is a non-stiff solver. When the “Solver” is changed to “auto” mode, Simulink automatically takes up “ode23tb”- a stiff solver and the speed of the simulation picks up. You can refer to the following documentation to learn more about the various stiff solvers available in Simulink:
Stiff models work with less computation cost and more speed using stiff solvers. You can refer to the following documentation to determine the stiffness of a model:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Manual Performance Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!