Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Tracking staytime of a flowitem that exits the model attached to a pallet

itSXUX5
Explorer Explorer
0 Views
3 Replies
Message 1 of 4

Tracking staytime of a flowitem that exits the model attached to a pallet

itSXUX5
Explorer
Explorer

[ FlexSim 22.1.2 ]

Considering the Warehouse demo, I need to track the cycle times of all the boxes (I have +100 types), from when they are created in the model until the are moved moved to the exit conveyor. How can I do that? I don't know how to trigger the exit event for each box since they are attached to the pallet

0 Likes
Accepted solutions (1)
1 View
3 Replies
Replies (3)
Message 2 of 4

jordan_johnsonPM57V
Autodesk
Autodesk

You need a custom statistics collector for this, but it's fairly straightforward. I think you can still listen to the OnEntry of the exit conveyor. The trick is to specify something like

data.item.subnodes.toArray()

as the Row Value. When the Row Value field gets an array, it updates all the rows associated with that field. In this case, you're telling the stats collector to update the row for all items inside the pallet, rather than for the pallet (which likely doesn't have a row in the first place).

Let me know if that makes sense, or if you need more guidance.

.


Jordan Johnson
Principal Software Engineer
>

0 Likes
Message 3 of 4

kavika_faleumuE6HT5
Autodesk
Autodesk
Accepted solution

Going off of what Jordan said, I modified the Warehouse Demo to do something close to what you wanted. First I added some labels to the Process Flow so when a flowitem is created it adds the "timeCreated" to the item (0 for the initial inventory, other times for the Inbound items).

1654285890571.png

Next, when the pallet was being loaded to the conveyor, I set a second label to each flowitem for the stayTime which is just the current model time minus the timeCreated label from earlier.

1654285971025.png

I made a Statistics Collector to keep track of the Staytime of each item as the pallet enters the conveyor. From there I made a Calculated Table to calculate the average of the Staytimes partitioned by the SKU. Then I made a graph to display the stats.

1654286159680.png

flowitem-staytime.fsm

0 Likes
Message 4 of 4

kavika_faleumuE6HT5
Autodesk
Autodesk

Hi @Mauricio R23, was my or Jordan Johnson'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

Type a product name