How to operate the Powertrain Blockset with fixed step size?

2 ビュー (過去 30 日間)
Lucas Speck
Lucas Speck 2018 年 12 月 14 日
回答済み: Ryan Chladny 2018 年 12 月 18 日
Is there a possibility to operate the Powertrain Blockset in fixed step size. I want to integrate my own engine model in the car model. To operate the complete model at a Hil, the model needs to be calculatet in fxed step size.

回答 (1 件)

Ryan Chladny
Ryan Chladny 2018 年 12 月 18 日
Hi Lucas,
Yes, all of the blocks and models shipped in Powertrain Blockset permit code generation and can be run with fixed step solvers. Many customers have been successful with using ode4 and a step size of 1ms, for example.
Depending on your target, model and application, you may need to experiment to find a good compromise with which fixed step solver and step size to use (you set this in the model Configuration Settings by the way).
Best of luck and kind regards,
Ryan

カテゴリ

Help Center および File ExchangePowertrain Blockset についてさらに検索

タグ

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by