How to connect Turbine powertrain blockset to data coming from workspace?

1 回表示 (過去 30 日間)
Pier Paolo Branclaeoni
Pier Paolo Branclaeoni 2023 年 3 月 24 日
回答済み: Matthieu 2023 年 3 月 24 日
I have a set of data coming from workspace a sfunction of time, and I want use them to enerate power for a turbocharged engine using turbine and compressor powertrain blockset.

回答 (1 件)

Matthieu
Matthieu 2023 年 3 月 24 日
Hello,
I don't own the Powertrain Blockset. But I did need to export data vectors from my base workspace to simulink. For that, you need to compute your data as a 1D vector and use the Repeating Sequence Interpolated block and set it to use your vector. Don't forget to set your simulation time as long as the length of your time vector.
Alternatively, you can use your function of time in a Matlab Function block and connect the simulation time as input.

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by