question

Terra K. avatar image
0 Likes"
Terra K. asked Steven Hamoen commented

Schedule to produce 2 item types

Is there any way I can use a source to produce a specific amount per item types on spread of exponential?

Currently, I'm using source to produce only 1 item type evenly per day by using the exponential distribution.

Like for example, day 1 produce 100 item type 1, day 2 to produce 30 item type 2 and 70 item type 1.

How can I schedule the source to do so?

FlexSim 17.1.2
itemtypesource schedule
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

Steven Hamoen avatar image
1 Like"
Steven Hamoen answered Steven Hamoen commented

@Terra K. The way we always solve this is by using a source with an Arrival schedule. Let the items for that day arrive at the beginning of the day and put a processor behind it with a uniform distribution between 0 and 28800 (0 and 8 hours). This means that your products arrive exponentially distributed over the day at the end of the processor.

· 4
5 |100000

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

Terra K. avatar image Terra K. commented ·

@steven.hamoen Thank you, so at the arrival schedule I would need to put the arrival times for each day in seconds, and process time in d uniform?

eg. ArrivalTime: 0 , ItemName: Product1, Quantity: 100, Type: 1

ArrivalTime: 72000 , ItemName: Product2, Quantity: 30, Type: 2

ArrivalTime: 72000 , ItemName: Product1, Quantity: 70, Type: 1

And for Process Time for processor: duniform(0, 28800, 0)

0 Likes 0 ·
source.png (10.3 KiB)
processor.png (18.9 KiB)
Steven Hamoen avatar image Steven Hamoen Terra K. commented ·

@Terra K.I would use uniform and not duniform, but considering this is seconds, duniform should also work. The rest is correct.

0 Likes 0 ·
Terra K. avatar image Terra K. Steven Hamoen commented ·

@steven.hamoen I've followed accordingly, But it took around 4hrs 40mins to process 1 item instead

0 Likes 0 ·
Show more comments