question

Christiane Rs avatar image
0 Likes"
Christiane Rs asked Ryan Clark commented

How can I specify random values as delaytime for waypoints?

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

FlexSim 18.1.2
agvflexsim 18.1.2delaytimeagv waypoint
1642408088564.png (29.4 KiB)
withdelay.fsm (306.5 KiB)
· 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.

Ryan Clark avatar image Ryan Clark commented ·

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 0 ·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

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.


1642417752586.png (70.6 KiB)
1642417787312.png (71.9 KiB)
5 |100000

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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

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

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

5 |100000

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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Christiane Rs commented

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

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

Christiane Rs avatar image Christiane Rs commented ·

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 0 ·
1642413118801.png (44.3 KiB)
1642413172103.png (43.0 KiB)
Christiane Rs avatar image Christiane Rs commented ·

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

0 Likes 0 ·

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.