question

Abel van der Windt avatar image
0 Likes"
Abel van der Windt asked Jeanette F commented

OnArrival doesn't fire in combination with MTBF MTTR

In the attached model the OnArrival trigger doesn’t fire in combination with a MTBF MTTR. If the breakdown occurs between the point where the AGV slows down to stop and the destination, then the token doesn’t continue in the wait for event or isn’t created in the event triggered source.

Is this the expected behavior?

OnArrival.fsm

FlexSim 23.0.11
agvmtbf mttronarrival
onarrival.fsm (39.2 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Abel van der Windt, was Jason Lightfoot's answer helpful? If so, please click the "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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

This appears to be a bug since the travel task is correctly* not completed until the end of the breakdown (time 30s which you can verify by checking the 'Wait Until Complete' option on the travel activity). The issue is likely related to the deceleration for the stop and pre-arrival coinciding and the logic not correctly tracking the destinationcp/lastcp/currentcp in combination with firing the arrival event.

Thanks for pointing it out - I'll send it into the dev team.

5 |100000

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