question

Dylan R2 avatar image
0 Likes"
Dylan R2 asked Jordan Johnson commented

Change processing time based on label

I would like to have each of my created flowitems immediately be assigned a "order size" label that determines how large the order is, and then be able to alter the processing time based on the item type and order size, is this possible to accomplish?

FlexSim 18.2.2
labelsflowitemsvariablesprocessing times
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

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Jordan Johnson commented

Yes, this is possible. If you are simulating process time with a processor, you can access the item (and its labels) that has arrived in the Process Time field:

itembasedprocesstime.fsm


· 2
5 |100000

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

Dylan R2 avatar image Dylan R2 commented ·

@jordan.johnson one more quick question regarding this! Can I make the order size follow a statistical distribution and still use this method?

Thanks!

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Dylan R2 commented ·

Yes. Just pick the distribution you want. While the distribution you want is probably not the normal distribution, here is an example:

normal(item.OrderSize * 10, item.OrderSize * 0.2, getstream(current))
1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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