Simscape and Simscape Electric Realtime Simulation Speed at Speedgoat

9 ビュー (過去 30 日間)
형록 오
형록 오 2022 年 5 月 12 日
回答済み: Sabin 2022 年 12 月 20 日
Hi.
I'm using real-time simulation with Speedgoat perfermance real-time target.
I test the modeling by using Simscape and Simscape Electrical on realtime simulation.
Two modeling results are different.
Simscape Electrical is extreamly faster than Simscpe on CPU. (more than x10-x20)
For future work, I have to using simscape toolbox.
Do you have any idea for reducing simscape realtime simulation speed for meet the time sample.
I attached the test model.
Please confirm and solve that.

回答 (1 件)

Sabin
Sabin 2022 年 12 月 20 日
For the Simscape model provided I was able to speed up the simulation by changing the local solver to Partitioning/Robust Simulation in MATLAB 2022b. In this way maximum TET was 1.15e-5. Partitioning Solver can improve the simulation speed. See Increase Simulation Speed Using the Partitioning Solver for more insights.
Speedgoat log:

カテゴリ

Help Center および File ExchangeSimscape Electrical についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by