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?

Answers (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”.

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 18 Jul 2020

Answered:

on 17 Sep 2024

Community Treasure Hunt

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

Start Hunting!