question

wonjo P avatar image
0 Likes"
wonjo P asked wonjo P commented

I'm wondering if how to set the puller in GlobalLists

list2.png

Hello, sir

First of all, I want to set a puller,"Queue6". But, I don't know why the list write the distance, 'Puller Required'.

So, please give me a solutions.

Thank you.

FlexSim 19.0.2
listpuller
list2.png (144.0 KiB)
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

You look probably at the list entries just at the time, when you don’t actually pull some item from the list. Then there isn’t a reference for the puller object. Perhaps you can catch the moment, the list gets updated, if you let run the model in step instead of the classic run button.

0 Likes 0 ·
wonjo P avatar image wonjo P Joerg Vogel commented ·

Thank you, sir. I totally understand how to use puller. It made by the connections, right?

0 Likes 0 ·

1 Answer

·
Joshua S avatar image
2 Likes"
Joshua S answered wonjo P commented

This expression is fired when a query is done to pull an item from a list. You could rewrite the expression field so that it is always checking the distance between the item and Queue6 by replacing

Variant Puller = param(2);

to

Object Puller = model.find("Queue6");

but we would need to know more information about your model to help you beyond this point.

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

wonjo P avatar image wonjo P commented ·

I'm sorry. I can't upload the file because my customer's security policy. But, I totally understand that problem. 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.