question

Lambert avatar image
0 Likes"
Lambert asked Felix Möhlmann commented

Move X tokens per hour between activities

Hi everyone,

I am trying to simulate the flow of volume between activities in process flow.

1687513809879.png


How can I do so that the "process" activity moves X tokens per hour, from buffer1 to buffer2?

What's the best way to model something like this?


thank you


FlexSim 23.0.8
process flow logic
1687513809879.png (12.2 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 Felix Möhlmann commented

Approach 1:

A delay of 1 hour inside a zone with a maximum content that is equal to the desired number of tokens per hour. Will never let more than N tokens per hour pass. Tokens can enter whenever there is space available in the zone. (A batch of 60 tokens could enter at the same time)

Approach 2:

Tokens are pushed to a list and pulled off in a regular interval. Interval could also be dynamic to let the next token through earlier if the puller token had to wait in the Pull activity.

1687516874261.png


1687516874261.png (26.5 KiB)
· 2
5 |100000

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

Lambert avatar image Lambert commented ·
Thank you Felix, is that a working model? would you be able to share?
0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Lambert commented ·

ProcessFlow_IntervalFlow_fm.fsm

The list approach has the mentioned dynamic timing, so it can actually allow more than 60 tokens per hour to 'catch up' to the desired overall throughput.

0 Likes 0 ·