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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Student, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

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.