How can I specify random values as delaytime for waypoints?

How can I specify random values as delaytime for waypoints?

christiane_rs
Not applicable
2,438 Views
6 Replies
Message 1 of 7

How can I specify random values as delaytime for waypoints?

christiane_rs
Not applicable

[ FlexSim 18.1.2 ]

I have created a simulation in which the onward journey of the AGVs is delayed at the waypoints. Two types of waypoints are to be distinguished. With one group (Montage) there is a fixed delay. In the other (verzögerte Montage), the delaytime should vary randomly in a certain area. I tried to do this with a normal function (normal(5.3,0,2)). However, the result is the same as without the function, as if I had entered a fixed value. Also, the use of the Bernoulli function (bernoulli(33,5.5,5) has always brought the same result, regardless of the given probabilitywithDelay.fsm.

How can I specify variable random values in a certain range as a delay?

1642408088564.png

0 Likes
Accepted solutions (1)
2,439 Views
6 Replies
Replies (6)
Message 2 of 7

jason_lightfoot_adsk
Autodesk
Autodesk

Try 'normal' with one 'l' - recognized keywords should be shown in blue.

0 Likes
Message 3 of 7

christiane_rs
Not applicable

Sorry, I had just changed it for the screenshot and mistyped. But as you can see from the pictures, it doesn't make a difference even spelled correctly1642413118801.png1642413172103.png

0 Likes
Message 4 of 7

christiane_rs
Not applicable

Do you have any other suggestions? As you can see from my comment, time does not change even with correct keywords.

0 Likes
Message 5 of 7

FelixMoehlmann
Collaborator
Collaborator
Accepted solution

I can't seem to replicate the issue. Different distribution produce varying results, all longer than a fixed waiting time (because longer waiting times propagate down the chain of agvs due to control point allocation).

1642417752586.png

1642417787312.png

This might sound obvious, but did you remember to hit "Apply" between changing the delay time and running the model again? I definitely sometimes forget to do that.

0 Likes
Message 6 of 7

joerg_vogel_HsH
Mentor
Mentor

Probably you have still activated repeat random streams. Turn it off.

https://docs.flexsim.com/en/22.0/BestPractices/ModelRepeatability/#repeat

0 Likes
Message 7 of 7

ryan_c10
Not applicable

Hi @Christiane Rs, was one of Joerg Vogel's or Felix Möhlmann's or Jason Lightfoot's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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