question

David Chan avatar image
0 Likes"
David Chan asked Matt Long edited

How do I use processflow to model flowitemtaskexecutor to travel from one point to another

walking.fsm

Hi I am trying to use processflow to model people to travel from one location to another. Please see the attached the model, the people after reaching the destination, it jump back to the first location where the flowitem is created. Why?

FlexSim 16.2.0
processflowflowitemtaskexec
walking.fsm (20.4 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.

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered Matt Long edited

The travel task, simply is running an animation of the person moving from point A to point B. In the model's tree however, the item (or in this case person) is still inside the first queue. In order to fix this, I simply added a "Move Object" activity right after the travel that moves the traveller from inside the first queue to inside the second queue.

I've reattached your model below.

2486-walking.fsm


moveobject.png (7.8 KiB)
2486-walking.fsm (20.4 KiB)
· 4
5 |100000

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

Matt Long avatar image Matt Long commented ·

In the 2017 release of FlexSim, the Create Object activity has a checkbox to specify whether to create the object INSIDE of the destination object, or AT the destination object. This will eliminate the need for the extra Move Object activity.

1 Like 1 ·
David Chan avatar image David Chan commented ·
@Sam Stubbs

Thanks for your help the last round. Now I would like to people to use the network path. How should I implement it?

Thanks in advance

David

0 Likes 0 ·
Regan Blackett avatar image Regan Blackett ♦ David Chan commented ·

@david.chan

When you create the task executor flow items, specific any network node object as the Destination. Will attach the object to the path.

2 Likes 2 ·
David Chan avatar image David Chan Regan Blackett ♦ commented ·

@regan.blackett

Thanks. It works.

David

0 Likes 0 ·
David Chan avatar image
0 Likes"
David Chan answered

Hi everyone,

I have added this model to share.

In this model, I have created TE flowitem using PF as according to the advise to add it to the network node. Now the TE flowitem can use the network path.

teflowitem-on-network.fsm

Regards

David


5 |100000

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

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.