question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Felix Möhlmann answered

Events timing there is a delay

I noticed one behavior as highlighted in the below image

All the activities should happen at time 1 sec.
Around 1 Sec simulation time I was expecting all the token values should be pushed into the list.

But as you can see in the image when the simulation time is 1.01 sec still all those tokens haven't executed it's tasks or activities.

Attaching the model for reference

EventTiming.fsm

1695136587821.png

FlexSim 23.2.1
events
1695136587821.png (42.5 KiB)
eventtiming.fsm (34.1 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

You have a break point in your code that stops the simulation when the first value is pulled from the list.

If you continue to run afterwards, you will see that the simulation doesn't even reach 1.01s, since there are no more pending events after all values were pulled.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.