question

Steven Chen avatar image
0 Likes"
Steven Chen asked Phil BoBo edited

AGV New Load Types

Hello,

I would like to know how to apply the new load type when AGV loads a heavy item.

FlexSim 18.1.1
agvproperties
01.jpg (64.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.

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered Phil BoBo edited

Adjust the Initialize Travel code to return 3 when the item is "heavy" (whatever that means in your model):

  1. if (te.subnodes.length == 0)
  2. loadType = 1; // Empty
  3.  
  4. treenode item = te.subnodes[1];
  5. if (item.Heavy)
  6. loadType = 3; // Loaded_Heavy
  7. else
  8. loadType = 2; // Loaded
  9.  
  10. return loadType;

5 |100000

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