question

harish.varma avatar image
0 Likes"
harish.varma asked harish.varma commented

How can I make sources produce the specified quantity of parts for a repeated schedule/Sequence?

Demand for the Parts:

ItemType1: 145

ItemType2: 89

ItemType3: 51

First, the source produces 51,31,19. At the second repeat sequence, the total quantity produced will be 102,62,38. At the third repeat sequence, the total quantity produced is 153, 93, 57, which exceeds the demand. We don't need the source to produce more than the required Quantity/Demand.

In order to meet the demand, the source for the 3 repeat sequence should produce only 43, 27, 13 quantities.

Please let me know if we can modify the behavior of the source or if there is an alternative.

Thanks.

FlexSim 7.7.4
quantitydemandsource sequence
capture99.jpg (46.0 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.

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered harish.varma commented

The sequence will repeat whatever you tell it to. So if you tell it to repeat 51,31,19, then it will only repeat those numbers. If you want the third set to be different, then you should set the sequence to 9 entries instead of 3, and make the last 3 different. In an A, A, B kind of pattern. Would this work for you?

· 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.

harish.varma avatar image harish.varma commented ·

That was just an sample. But the actual Demand numbers are huge.

Itemtype1: 17,546

Itemtype2: 5,328

Itemtype3: 4,465

The repeated schedule at the source for Itemtype 1,2,3 is 164,82,28 respectively. With this demand, I had to create too many rows at the source which makes it complicated. I was hoping if I could find an easier way to do this task.

0 Likes 0 ·
Kari Payton avatar image
0 Likes"
Kari Payton answered harish.varma commented

Hi @harish.varma if you are familiar with process flow, that is an alternative you can use. In the example, I used a table to create the different order numbers, then created tokens that pushed the items to a list. idea1.fsm


idea1.fsm (18.9 KiB)
· 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.

harish.varma avatar image harish.varma commented ·

It works. Thanks Kari.

1 Like 1 ·