How the Delay one step block and stop time ( simulation time) infuence each other on simulink?
Show older comments
I want to have a fixed delay on the incoming resources going in the resource pool. For that matter I am using a delay one step block as seen in the attached file. The problem is that, I want to run the simulation let us say for 1000 mins or 10000 mins and the delay in each case be constant but I cannot achieve that. It seems to me there is a connection between the stop time and the delay length in the one step delay block. In the attached file without changing the values inside the blocks and simply by changing the stop time it can be clearly seen in the resource pool scope that this time changes. Any help would be appreciated!
Accepted Answer
More Answers (1)
Fangjun Jiang
on 14 Jan 2025
Edited: Fangjun Jiang
on 14 Jan 2025
0 votes
If you don't specify the step size or it is auto, the step size is automatically adjusted, influnced by simulation stop time and other settings.
You can specify the delay time explictly.
Categories
Find more on Sources 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!