question

Arvind J avatar image
0 Likes"
Arvind J asked Jason Lightfoot commented

Unable to create task sequence for operator.

Hi, advice need for the task below. I'm unable to create task sequence for the operator below to travel from point A to point B.

Objective: I need to calculate total distance travel by operator from Point A to point B.


1691291454646.png Flexsim 21.1.4.fsm 1691291590305.png

FlexSim 21.0.10
process flowoperator task sequence
1691291454646.png (195.8 KiB)
1691291590305.png (19.9 KiB)
flexsim-2114.fsm (51.0 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @Arvind J, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. 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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

All you need is a Process Flow source to create a token and a travel activity that tells the operator to move to NN90 (Point B).

1691390342389.png The travel distance of the operator will include the offset distance between the operator's reset location and Point A. To get the distance between the network nodes, you can also just use the command below (use the script console to run it).

getnetworkdistance(rankfromnetnode(Model.find("NN78")), rankfromnetnode(Model.find("NN90")))

1691390342389.png (10.7 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.

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.