question

Jenish P avatar image
0 Likes"
Jenish P asked Ben Wilson commented

Triangular distribution

How to add timing of product if it's provided in triangular distribution function?

FlexSim 20.0.10
flexsim 20.0.10triangular
· 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.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

I don’t know what you mean by timing. But if I should guess, you want to set a process time.
There are two scenarios you can use. Both are based on labels at the item.

  1. You can compute the functional value of a triangular distribution and store the result value into a label. If you want to process the item, you read the label value as the Process Time.
  2. You can add three values at the item, which define the triangular distribution. When the item gets into a processor, the process time is set as a triangular distribution. But you parse as the parameter the label values to replace the number parameters. As an example I call the labels valMax, valMin, valMode.
    1. triangular(item.valMin, item.valMax,item.valMode,getstream(current))
5 |100000

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