question

Student avatar image
0 Likes"
Student asked Jeanette F commented

2 Object Rotation in Source

Hello, I am trying to make my source to produce items with this following rotation:

A - A - A - B - B - B - loop

Is there a way to make this by using only one source and interarrival time?

FlexSim 23.2.2
source
· 1
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

Use the modulo operator % on the output statistic of the source to create a repeating sequence of numbers (1, 2, 3, 4, 5, 6, 1, 2, 3, ...). Then use these as case value in a "By Case" function when assigning the labels or define an sequence of label values in an array label and use the modulo value as the index when assigning labels.

5 |100000

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