question

Fred E avatar image
0 Likes"
Fred E asked Fred E commented

AGV custom parking logic

Hello,
I want to add some parking logic to my model. I want to park the AGVs every time they don't have any task to do.
I can't find the right trigger event to send the AGV to the parking spots.
I'm trying it with the "event trigger source OnStaytimeChange" but then I get weird events where the AGVs park from one parking spot to another. Sometimes it happens that the AGV has no tasks and stops at the last control point, and the event trigger source does not send it to the parking spot.
1658148782391.png

my model: test160.fsm

Hope you understand my question.
Thank you in advance for your answers.
Best regards

FlexSim 21.2.4
agvevent triggerparking pointparkign
1658148782391.png (328.2 KiB)
test160.fsm (149.6 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.

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Fred E commented

You can try OnResourceAvailable and check that NextTS is Null.

· 5
5 |100000

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