Getting error in running drivetrain model

5 views (last 30 days)
Pranay Chauhan
Pranay Chauhan on 7 Apr 2017
Answered: Gillian Rosen on 10 Apr 2017
"An error occurred while running the simulation and the simulation was terminated Caused by: At time 0.571436, an assertion is triggered. Engine speed has exceeded the Maximum speed parameter. The engine model is invalid at this condition. The assertion comes from: Block path: videomodel/Generic Engine"

Answers (1)

Gillian Rosen
Gillian Rosen on 10 Apr 2017
Hi Pranay, 
I understand that you are encountering an assertion that states "engine speed has exceeded maximum speed parameter" when you try to simulate your model. 
As the assertion specifies, this issue is occurring because the engine speed is exceeding the maximum speed parameter for the block. to avoid the assertion, there are several options that you can try:
1. Increase the maximum speed parameter for the engine (for example, to 7200 rpm).
2. Decrease the throttle input to the engine.
3. Adjust parameters in the mechanical rotational part of the model to increase damping or friction losses, which can help keep the engine speed in the acceptable range.

Categories

Find more on Powertrain Blockset in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!