question

Purushothama Tr avatar image
0 Likes"
Purushothama Tr asked Jason Lightfoot answered

Problem at unloading logic

This is model name Truck Path for Log Carrying - Copy.fsm

  • According to Global table data no of logs should be Unloaded to One of the QUEUE (there are 15 queues are present) during next cycle flow item should be unloaded to one of the empty QUEUE not on the Previous QUEUE until already loaded QUEUE content should be zero
  • For Unload activity Charging Car should Travel to Particular Unloading Queue(only Horizontal movement is Allowed to travel and Apply kinematics(logic is present in the model) should be used unload activity on empty queue ) all items should transfer at a same time to Queue
FlexSim 22.2.2
process flow
· 3
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 ·
What problem are you seeing and at what time in the model?
0 Likes 0 ·
Purushothama Tr avatar image Purushothama Tr commented ·

Flow items created using the global table value (time and Quantity) at source it taken from truck and unload on charging car queue then charging car should travel to any one of the queues(1-15) it should unload at a time

we can find time 20 minutes this process is starting and it will repeat according to global table value time

0 Likes 0 ·
Purushothama Tr avatar image Purushothama Tr Purushothama Tr commented ·

Please find model with sample workflow Truck Path for Log Carrying - Copy.fsm

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

First of all remove the token.Log as the name of the token in the source.

Next - look at the exception in the system console - it's telling you the problem:

time: 107.556993 exception: FlexScript exception: label item doesn't exist on token id: 3 at MODEL:/Tools/ProcessFlow/ProcessFlow/Move Object~4>variables/objectRef

The token entering the subflow to move objects doesn't have a label called 'item' but your expression of which object to move is:

token.item.Alloy[token.Rank]


When referring to token.Row in teh CarKinematics subflow you should be referring to the other, triggering token not the entering token, so assign the other token to a label called 'otherToken' in the event triggered source.

5 |100000

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