question

ged0313 avatar image
0 Likes"
ged0313 asked ged0313 commented

Push to list by time

Hi there, I have some problems when setting the source. I use global list to store the output of the source. If I want to do some adjustments with the push to list activity that the items are pushed to list every 20 mins. The output items will be stored in the queue until they are pushed to list. How can I achieve this setting? Thanks for any of your assistance!

FlexSim 20.1.3
global listpush to listtimer
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 ged0313 commented

You could use a zone with a maximum content of 1 to force a delay of at least 20s between pushes.

capture1.png

push-interval-fm.fsm


capture1.png (9.0 KiB)
· 3
5 |100000

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

ged0313 avatar image ged0313 commented ·

Thank you so much for your help! Your suggestion is very useful! I still get some problem with this model that I inspect the model and do some adjustment. That I want the items to be push into list in a certain time, with all the items that are not yet be pushed in the list. But the model for now is to push one to list every interval. I'm wondering how can i set it to push all of the item that is not yet pushed in the list. Thank you!

1689148143333.jpg

0 Likes 0 ·
1689148143333.jpg (46.9 KiB)
Felix Möhlmann avatar image Felix Möhlmann ged0313 commented ·

For that I'd use a Wait for Event activity that holds the tokens until a regular event happens. The event could be a token leaving an Inter-arrival source.

push-interval-fm2.fsm

0 Likes 0 ·
ged0313 avatar image ged0313 Felix Möhlmann commented ·

Thank you for your advice, it is very helpful!

0 Likes 0 ·

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.