question

Qiana C avatar image
0 Likes"
Qiana C asked Qiana C commented

Model sources to emulate delivery times

If I know that deliveries only occur in the morning, and approximately 10-20 deliveries occur each day, and there are about 10-20 minutes between each delivery, and 100 items arrive for each delivery, how would I model that in FlexSim? I want to use a distribution to model the number of expected deliveries per day and the average time between deliveries. Also, I want to cycle through a set of different labels for each arrival to represent a different product being delivered.

How would I model this delivery schedule in FlexSim?

FlexSim 20.1.0
sourceflexsim 20.1.0statistical distributionsource schedulescheduling
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Qiana C commented

I would create a single token by a daytime source every day. There is a label at The token which tells me how many items are still available to arrive on this day. Then I let the token loop through a process, which delays the token and calls a subflow, which I use to create a random number of items By this number I reduce the label value at the token. If the label value reaches zero at a day I destroy the token..

· 5
5 |100000

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

Qiana C avatar image Qiana C commented ·

Can you elaborate on what you mean? How would I set the distributions in the date/time source?

thank you

0 Likes 0 ·
Qiana C avatar image Qiana C Joerg Vogel commented ·

Almost. I tried editing myself, but was not successful. Under the 'new item' block subflow, i want to group each batch as a delivery, so that each group has the same 'Type' label and color. Perhaps a batch block would be useful here?

Also, i noticed the way that this was setup there wasn't a direct way to set number of deliveries per day to a distribution, just by setting a total number of items per day and subtracting from it. Is there a more direct way to set total number of deliveries to set distribution?

thanks!

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Qiana C commented ·

create_items_from_time_on_type_color.fsm

If you want to change the colordifferently, then I recommend you edit the activity "Color byNumber" yourself.
0 Likes 0 ·
Show more comments