question

J avatar image
0 Likes"
J asked Jeanette F commented

Pull from list

Hi,

I want to let the operator move 5 item at a time. And I used pull from list in my model, the request and require number set as 5. Why the operator always transport 1 item at a time?


Transport-1.fsm


FlexSim 20.0.10
pull from listarrayuse transport
transport-1.fsm (40.7 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 @J, was one of Sri_vikas K's or Joerg Vogel'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 ·
Sri_vikas K avatar image
0 Likes"
Sri_vikas K answered Jason Lightfoot commented

Hi @J

Since the data type of five pulled items would be in the form of array, you can use run sub flow to achieve this. Refer the model attached below.

transport-1_SVK.fsm


transport-1-svk.fsm (41.8 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.

J avatar image J commented ·

Hi @Sri_vikas K ,

I used the sub-flow to achieve it. But I'm wondering why I don't have to use the sub-flow and it can achieve it.

0630.fsm

0 Likes 0 ·
0630.fsm (253.7 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ J commented ·

The difference is that by using the Load task you invoke the load time of the task executer for each item.

Your unload technique isn't even invoking that once since you're using MoveObject - and for that you don't even need to pop objects off the array you can just tell it to move the array in one visit to the activity.

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jason Lightfoot commented

You pull from list five items. They are stored in an array. But there doesn’t exists an automatism to create a tasksequence job to transport all items of an array. By default an input from an array returns only the first element of this array. You must build a logical code loop structure to load all items of this array and later to unload all items of this array again.

similar request with answer

https://answers.flexsim.com/questions/134328/operator-pick-parts-in-batch.html

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

J avatar image J commented ·

Hi @Joerg Vogel,

I used the sub-flow to achieve it. But I'm wondering why I don't have to use the sub-flow and it can achieve it.

0630.fsm

0 Likes 0 ·
0630.fsm (253.7 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ J commented ·
The difference is that by using the Load task you invoke the load time of the task executer for each item.

Your unload technique isn't even invoking that once since you're using MoveObject - and for that you don't even need to pop objects off the array you can just tell it to move the array in one visit to the activity.


1 Like 1 ·