필터 지우기
필터 지우기

How can I increase the speed of scheme simulation?

조회 수: 8 (최근 30일)
stepa
stepa 2024년 2월 12일
답변: Sumukh 2024년 8월 23일 6:23
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.

답변 (1개)

Sumukh
Sumukh 2024년 8월 23일 6: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:

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by