Unable to start simulation at condition specified using IC block.

I have built a model to simulate acceleration and top speed of a vehicle. I want to specify the initial engine RPM as 3500 for which I have added IC Block specifying the same. But even then Engine RPM is 0 at the start. How can I start my simulation when the engine speed is 3500 RPM?

回答(1 个)

Hello Pranav,
The initial “Engine Speed” is “3500” only, it’s not reflected in the scope as you have connected the “IC block” to the “From1 block” instead you should connect it to the “Goto block”, that way both the “From1/From4 blocks” will receive the correct initial value of “3500”.

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

回答:

2024-9-17

Community Treasure Hunt

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

Start Hunting!

Translated by