question

andresantos avatar image
0 Likes"
andresantos asked andresantos commented

Having trouble pulling from list (AGVs)

Hi.

I'm trying to develop a parking site for AGVs. Right now, I want the AGV to check if parking is available, if it is, go there, if it's not, wait until there's parking available.
I'm having some trouble trying to pull a parkPoint from a list. Note that I'm using a new custom process flow because I was having trouble implementing the AGV template for my model.

Down below I uploaded some pictures regarding my issue. Hope you can help me. Cheers!

1684931073089.png

1684931090958.png


FlexSim 22.2.4
agvlist pull from listflexsim22
1684931073089.png (52.2 KiB)
1684931090958.png (8.5 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

·
VikSin avatar image
1 Like"
VikSin answered andresantos commented

Can you describe a little bit more the problem you are facing ?

I will use a max wait time in this situation. Token will try to pull for specified time and if it fails in pulling after that, it will be send to another process. When you use max wait timer, the pull from list object behave as a decide object.

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

andresantos avatar image andresantos commented ·

Thank you for the answer.
I want to make a car inspection center but right now I'm focused on making a simple parking for when the cars arrive.
I think my main issue is I don't quite understand how i can pull an object from a list that matches my criteria (The SQL Query), e.g. The park spot needs to be available in order for me to pull it.

I could submit my model, but it has some portuguese mixed in the English so it could be hard for you to comprehend. Anyways, thanks for the input!

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ andresantos commented ·

The sql for pulling only values with isAvailable being true is

WHERE isAvailable
0 Likes 0 ·
andresantos avatar image andresantos Jason Lightfoot ♦ commented ·

Sure, but I've tried many different queries, and none seem to work...In the end i can see in the back order details that the request from the puller has the label "failed" with the number 1 attached to it.
So, I assume I must be using the process flow block wrong... I'll keep you noticed, thanks for the help!

0 Likes 0 ·
VikSin avatar image VikSin andresantos commented ·

I post a model example of pulling of free parking spots from list using max wait timer.

carparking.fsm

0 Likes 0 ·
carparking.fsm (40.3 KiB)
andresantos avatar image andresantos VikSin commented ·

Oops, I actually have version 22.0.12 installed instead of the one I said earlier...
I will try to download a newer version so I can open your model.
Thank you!

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.