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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Jenish P, was Jörg Vogel's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

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

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.